r/osdev • • 12d ago

Question - Which Filesystem is best for you?

Like, someone pick ZFS or even ReiserFS... what about your Favorite FS and why?

14 Upvotes

27 comments sorted by

15

u/Illustrious_Car344 12d ago

Nothing wrong with good ol' exFAT (if we're talking about which filesystem to develop for your hobby OS)

11

u/iflugi 12d ago

exFAT or FAT32? exFAT is still covered by MS patents, and it's way more complicated than good ol' FAT32

10

u/Ikkepop 12d ago

raw bytes on a floppy. If for osdev though, It'd be fitting to invent my own

5

u/clackups 12d ago

That's too modern. Take a pack of punched cards

3

u/Ikkepop 11d ago

Everyone knows that a stone and chisel is the real way to go

2

u/clackups 11d ago

Of course, but I'm lazy for so much physical work

4

u/Ikkepop 11d ago

you know what they say, a hammer strike a day keeps the doctors away

2

u/clackups 11d ago

Don't try it on asbestos :)

4

u/Ikkepop 11d ago

I try it on the doctors

1

u/johlae 7d ago

Nice. 'Course, there's an emacs command to do that. Good ol' C-x M-c M-hammertime...

7

u/Falcon731 12d ago

Just plain FAT32.

Simple to implement - and makes it trivial swapping an SDCard between the target machine and the host PC.

6

u/Damacustas 12d ago

I’ve found ext2 to be doable. I don’t use all of the features by far and one could argue that means it’s overkill but it works for me.

2

u/Taletad 11d ago

Did you extend the size of the timestamp to avoid crashing in 2038 ?

4

u/realrealvantheman 12d ago

Ive always been a UFS and FFS fan

4

u/Q3a_destiny 11d ago

ext4 is good enough for almost everything unless you are specifically solving a problem

4

u/Asleep_Literature_70 11d ago

Btrfs, snapshots, raid (minus 5 and 6), compression, cow.

3

u/Kymeron 11d ago

FAT32 or EXT2

2

u/Glum-Cook-9438 11d ago

FAT32: simple, straightforward

2

u/Joaommp 11d ago

Unpopular opinion, but I've been quite happy with JFS. I've had much better experiences with it than with ext4, light enough, lots of features even though it doesn't come close to BTRFS (but much more mature) and seems to be making a comeback in some enterprise settings. I've even made bug fix contributions to it in the Linux kernel.

2

u/terono 11d ago

I’d say ext2 is fine. ZFS is meant for industrial use, consumes a lot of system resources, and can be detrimental on mid-range and low-end computers.

1

u/paulstelian97 11d ago

FAT32 + ext2 + maybe a custom one for my specific project for unique abilities.

1

u/Zilch510 11d ago

I've always been a big van of XFS under Linux. More reliable than EXT4, very lightweight and robust as well.

That said for custom OS development, FAT16/32 is fine.

1

u/Glittering_Gur5701 9d ago

I've been liking gefs from 9front

1

u/MattDecker2267 5d ago

HPFS was the pinnacle of personal computing.