[CVALE] How do you design a file system?

Patrick Bennett stnick at bennettbungalow.com
Tue May 8 13:10:03 PDT 2007


Isn't reiserfs an open source project? ext3 definitely is. You might be 
able to answer a lot of these questions simply by looking at their 
project websites and/or source code.

-Patrick


Landon Blake wrote:
>
> Its time for one of my really ignorant and purely theoretical 
> questions: How do you design a computer file system?
>
> Some common file systems are FAT16, FAT32, Ext2, and Ext3. I know they 
> all do basically the same thing, store files on some sort of storage 
> medium.
>
> If you wanted to design a new file system, how would you go about it? 
> Would it have to be written specifically for each processor type? 
> Could it be written in a programming language like C, or would it have 
> to be implemented at a lower level by using some sort of assembly 
> language? Is a file system simply a format specification? (For 
> example, the name of the file goes in this 50 bytes, the length of the 
> file in the next 10 bytes…) Or does a file system contain tools, 
> utilities and functions?
>
> How would one add support for a new file system to Linux? Could you do 
> this with what is called a kernel “module”?
>
> I’m not saying I’d actually want to implement a new file system, since 
> there is already a lot of existing file systems that work just fine, 
> but I’m curious as to how this would work.
>
> What is on the cutting edge of computer file system design? What new 
> concepts are they exploring?
>
> Landon
>
>
>
> *Warning:
> *Information provided via electronic media is not guaranteed against 
> defects including translation and transmission errors. If the reader 
> is not the intended recipient, you are hereby notified that any 
> dissemination, distribution or copying of this communication is 
> strictly prohibited. If you have received this information in error, 
> please notify the sender immediately.
> ------------------------------------------------------------------------
>
> _______________________________________________
> cvale mailing list
> cvale at lists.fire2wire.com
> http://lists.fire2wire.com/mailman/listinfo.cgi/cvale
>   




More information about the cvale mailing list