Which filesystem would you use?

Locked
bitWISE
Posts: 10704
Joined: Wed Dec 08, 1999 8:00 am

Which filesystem would you use?

Post by bitWISE »

So I started learning about kernel development last week and I'm god damned hooked :drool:

Thanks to an excellent tutorial series I'm nearing a pretty solid C based kernel booting through GRUB and once I'm done I think I will make my first focus implementing a disk based filesystem (currently working on bugs in my initrd which already laid the groundwork), and then implementing the ability to launch C programs in user-mode (with the first program being a command-line interpreter).

So...I can always code more later but seeing as I'm a one man team doing a hobby project, which filesystem would you pick for the long haul? I'd say the main factor would be ease of implementation due to plenty of quality documentation on the specs. JFS comes to mind but I'm just starting my research.
^misantropia^
Posts: 4022
Joined: Sat Mar 12, 2005 6:24 pm

Re: Which filesystem would you use?

Post by ^misantropia^ »

Are you hacking the Linux kernel or writing your own kernel from the ground up? In the latter case I'd pick something simple like Minix fs (you can pick example drivers from both Minix and Linux). File systems are complex beasts so start simple. If you use a VFS abstraction layer you can always switch later on. Cool project though. =)
bitWISE
Posts: 10704
Joined: Wed Dec 08, 1999 8:00 am

Re: Which filesystem would you use?

Post by bitWISE »

Ground up. The tutorial had me setup a VFS layer which it built initrd on top of. I'll check out minix fs, thanks.
Locked