Documentation about the Virtual File-System
Hi,
This is the first time I post to this mailing list.
I am working with the Computer Architecture department of my University (Carlos III of Madrid, Spain). I have to adapt an existing (distributed) filesystem to the Linux kernel. Therefore, I am looking for the interfaces in the Virtual File-System.
I do not know if this is the correct mailing list to post to about this topic. If not, please, tell me.
I have read some documentation, but I have not found any reference to the 2.6 kernel:
- http://www.linux.it/~rubini/docs/vfs/vfs.html
- http://www.faqs.org/docs/kernel_2_4/lki.html#toc3
- http://www.cse.unsw.edu.au/~neilb/oss/linux-commentary/vfs.html
I cannot determine if this references are up-to-date, because I have not started coding yet. In case they are not, do anyone knows about newer references?
Is there any "Building a File system HOWTO"?
Thanks in advance,
Regards,
Signature · 1 line
Guillermo
Hi,
Quoted 1 line · Guillermo López Alejos
Is there any "Building a File system HOWTO"?
I am not aware of such document but take a look at fs/ramfs/inode.c. It is a simple memory-based filesystem and sort of a tutorial to the VFS.
Pekka
Quoted 11 lines · Pekka Enberg
Hi,
Quoted 1 line · Guillermo López Alejos
Is there any "Building a File system HOWTO"?
I am not aware of such document but take a look at
fs/ramfs/inode.c. It is a simple memory-based filesystem and sort of a tutorial to the VFS.Pekka
-
Did you try http://lxr.linux.no/source/Documentation/filesystems/vfs.txt
BTW, on a similar note can somebody recommend some simple sample code on block IO?
Ritesh
Quoted 5 lines
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Signature · 1 line
http://www.cs.unc.edu/~ritesh/
try reading the code to Minix FS, it is simple and will demonstrate the interfaces you need to present to VFS, and the block interface to access the disk. The page interface is preferred over the block interface recently, expecially for high performance work, but FS's that use it are more complex and harder to understand (reiserfs, xfs, ext3).
Get Robert Love's kernel programming book, it has just barely enough VFS documentation to get you started learning the current interfaces.
NATE
Quoted 36 lines · Ritesh Kumar
Quoted 11 lines · Pekka Enberg
Hi,
Quoted 1 line · Guillermo López Alejos
Is there any "Building a File system HOWTO"?
I am not aware of such document but take a look at
fs/ramfs/inode.c. It is a simple memory-based filesystem and sort of a tutorial to the VFS.Pekka
-Did you try http://lxr.linux.no/source/Documentation/filesystems/vfs.txt
BTW, on a similar note can somebody recommend some simple sample code on block IO?
Ritesh
Quoted 1 line
To unsubscribe from this list: send the line "unsubscribe linux-kernel"
in
Quoted 4 lines
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/Signature · 6 lines
http://www.cs.unc.edu/~ritesh/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/