How to develop a FS driver

All development related issues welcome

Moderator: Moderator Team

Post Reply
mjs
Posts: 47
Joined: Sat Feb 19, 2005 9:03 pm

How to develop a FS driver

Post by mjs »

Hi,

how can I find information about developing a file system driver? I looked into fs/template/template.c but it doesn't seem to fit my needs.

The driver I wanted to implement is something like a RAM disk but it doesn't use a "real" FS. I thought about something like the dynamic-size RAM disk from AMIGA OS that doesn't need a storage device. This FS doesn't need to be mounted with a storage device.

Don't know if I could make it clear what I want ...

It would be nice if s/o can tell me:
- which functions are needed
- where are the structures defined
- which command codes are valid
- what are the valid return codes
- what are the pre-/post-conditions the implemented functions must meet

I cannot find anything in the MSDN Library Jan 2005, PSDK, DDK NT4.0, DDK W2K, DDK WIN98.

Regards,
Mark
Dr. Fred
Developer
Posts: 607
Joined: Wed Dec 22, 2004 10:09 pm
Location: Amsterdam

Post by Dr. Fred »

Yesterday I've just seen a example for something like that. I'll look if I can find it again.
Dr. Fred
Developer
Posts: 607
Joined: Wed Dec 22, 2004 10:09 pm
Location: Amsterdam

Post by Dr. Fred »

Here it is:

http://ashedel.chat.ru/ext2fsnt/. In the middle of the page are the interesting links.

God bless the browser's history.
mjs
Posts: 47
Joined: Sat Feb 19, 2005 9:03 pm

Post by mjs »

Hi,

I know I can buy the NT IFS kit but I really don't like the idea of buying it for 900 USD ...

EDIT: Do you know any other sources where I can find specs about IFS development?

Regards,
Mark
Dr. Fred
Developer
Posts: 607
Joined: Wed Dec 22, 2004 10:09 pm
Location: Amsterdam

Post by Dr. Fred »

I ment the link before on the page.
mjs
Posts: 47
Joined: Sat Feb 19, 2005 9:03 pm

Post by mjs »

Thank you for showing me this ... but ... I saw this too but where can I find specifications about it - and not only implementations?
Pythagoras1
Posts: 15
Joined: Fri Jan 07, 2005 5:08 pm
Location: Vienna (Wien)

Post by Pythagoras1 »

does anyone know informations about porting a file system from linux to ifs? any help would be great.
ea
Developer
Posts: 31
Joined: Sat Nov 27, 2004 11:54 am
Location: Italy, EU

NT or ROS?

Post by ea »

Pythagoras1 wrote:does anyone know informations about porting a file system from linux to ifs? any help would be great.
For NT/2000/XP/2003 you definitely need to buy the IFS kit from MS.

If your goal is contributing a port of a file system driver, from Linux to ROS, look example code here:

http://svn.reactos.com/viewcvs/trunk/re ... rivers/fs/
oiaohm
Posts: 1322
Joined: Sun Dec 12, 2004 8:40 am

http://www.acc.umu.se/~bosse/

Post by oiaohm »

Could someone merge those filesystems into the main tree.

The swapfs moded would make reactos the first windows to be able to use and share linux swap partions.
Post Reply

Who is online

Users browsing this forum: No registered users and 9 guests