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
On 6/27/05, Ritesh Kumar <[email protected]> wrote:
> On 6/27/05, Pekka Enberg <[email protected]> wrote:
> > Hi,
> >
> > On 6/27/05, Guillermo López Alejos <[email protected]> wrote:
> > > 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
>
> > 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/
> >
>
>
> --
> 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/
>
-
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/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]