have a look at /sys/lib/lib9p/ramfs.c as a guide for writing one in C. in the past, i have found it useful and educational.
On Jan 14, 2008 1:11 AM, Tom Lieber <[EMAIL PROTECTED]> wrote: > I'd like to make a few simple filesystems for personal use to do > things such as combine files or translate between different formats -- > really simple stuff, on par with the filesystems described in the > "laying namespaces" paper from IWP9. > > Is the easiest way to make a filesystem to make one in C in the way > described in Francisco's book? Are there any wrapping libraries for > the simplest filesystems? Or filesystems like these to base my work > on? > > shifs (Uriel) seemed encouraging, as did tmfs (Noah Evans), though I > can't find source, nor determine the viability of either without it. I > think they are for Inferno. > > I just obtained trfs but have not yet given it a thorough look. It's > intimidating that it is 400 lines for character replacement, since its > purpose is to pass every request nearly without modification to the > underlying fs. > > -- > Tom Lieber > http://AllTom.com/ > -- Christopher Nielsen "They who can give up essential liberty for temporary safety, deserve neither liberty nor safety." --Benjamin Franklin