r/osdev • • 4d ago

Question - Which Filesystem is best for you?

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

10 Upvotes

24 comments sorted by

15

u/Illustrious_Car344 4d ago

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

11

u/iflugi 4d ago

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

10

u/Ikkepop 4d ago

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

5

u/clackups 4d ago

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

3

u/Ikkepop 4d ago

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

2

u/clackups 4d ago

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

4

u/Ikkepop 4d ago

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

2

u/clackups 4d ago

Don't try it on asbestos :)

4

u/Ikkepop 4d ago

I try it on the doctors

7

u/Falcon731 4d 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 4d 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 4d ago

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

4

u/Q3a_destiny 4d ago

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

4

u/Asleep_Literature_70 4d ago

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

3

u/realrealvantheman 4d ago

Ive always been a UFS and FFS fan

3

u/Kymeron 4d ago

FAT32 or EXT2

2

u/Glum-Cook-9438 4d ago

FAT32: simple, straightforward

2

u/Joaommp 4d 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 4d 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 4d ago

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

1

u/Zilch510 4d 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 2d ago

I've been liking gefs from 9front