ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195
Rep:
There is various good literature on that.
But how about if you first tell us what need you feel to write a new file system, and what advantages it will have above other existing file systems?
I guess that if you want to write a file system from scratch you are looking towards thousands of men-hours of effort, so I am sure you want to explain us more than those 8 words you just posted.
I'm student and this project is for my bad collage .I try to write a small and simple filesystem .I read a 'practical filesystem design with the Be filesystem' but I can't understand from which point, I should start .There are kits that help me for easy start .
In one sentence, I want to write a flesystem like ramfs and or simpler.
thankyou for every answer
Last edited by saeedsssss; 04-24-2012 at 01:24 AM.
Distribution: Ubuntu n' Flavors, ReactOS, MINIX3, FreeDOS, Arch
Posts: 339
Rep:
There is a filesystem called the "Simple File-System" that is supposed to be even more simple than FAT. So look at that and see how it does what it should and how it keeps track of files and then apply the concepts in your own.
If working with C++ (My Reccomendation) get VERY well aquainted with fstream.
Just have a look to Dominic Gianpaolo's homepage, you'll find a link to a pdf file of the book and a link to the file system construction kit that you can download as well.
Last edited by Didier Spaier; 04-25-2012 at 06:45 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.