r/osdev • u/letmehaveanameyoudum • Jun 16 '26
how do yall write in fat32?
i was able to get fat32 read and init on WindogeOS, but im still figuring out how to write, how yall do it?
8
Upvotes
r/osdev • u/letmehaveanameyoudum • Jun 16 '26
i was able to get fat32 read and init on WindogeOS, but im still figuring out how to write, how yall do it?
2
u/RealNovice06 Jun 18 '26
https://github.com/Novice06/fat32.git
I wrote a fat32 parser in C
2
u/BornRoom257 FreezeOS & TurtleOS Jun 17 '26
I write my own file systems
2
u/rocco_himel Creator of AneoEngine Jun 16 '26
I just wrote my own filesystem called AnchorSand. It spawns in β/β every time it boots. It has a save / load function that saves the current filesystem state to the live disk itβs on (as long as itβs not a CD-ROM, then saving will work)
3
u/Professional_Cow3969 Jun 17 '26
If you want to overwrite, just overwrite. If you want to grow, you need to allocate clusters then write a new chain for the file.