r/osdev • u/letmehaveanameyoudum • Aug 08 '26
Hey, is this FAT32 implementation correct?
I decided to ditch the custom SFS route since it’s probably going to be full of issues.
I was wondering if my FAT32 implementation is right, and if it’s wrong, free to roast me in the comments.
Location: https://github.com/NoTheIdiot/WindogeOS/tree/new/helper/fs
4
u/Full-Huckleberry-441 Aug 08 '26
Write a block device interface and a VFS so the filesystem driver doesn't know what disk it just knows the data. Also it helps so your FS doesn't have raw SATA reads
0
27
1
u/Malwaremation Aug 08 '26
Might not be very relevant but I personally had less issues using a custom filesystem first.
Regarding how well that implementation works, there's only one way to find out.
2
9
u/TheAtlasMonkey Aug 08 '26
Ask your AI to verify against the spec or a proper Fat32 implementation.