[ask]creating a file system (FAT32)

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
odong
Posts: 1
Joined: Sat Apr 08, 2006 11:00 pm

[ask]creating a file system (FAT32)

Post by odong »

hi all,
can anybody give me an enlightment on how to create a file system (FAT32)?
I know the basic structures of it (ie. clusters, MBR, sectors, CHS, and so on), but as far as to start coding (in C), I have no clue where or how to start.
(I've started bulding the clusters using linked lists, but other than that, i'm lost for the next step).

you don't have to answer my question with code. but just some generalization on how to actually start.

thanks,
blackcatcoder
Member
Member
Posts: 132
Joined: Wed Nov 03, 2004 12:00 am
Location: Austria
Contact:

Re: [ask]creating a file system (FAT32)

Post by blackcatcoder »

I have included Fat(12,16 and 32) support in my os. It's called nexus. The download link can be found under the section "Projects" in this forum !

I hope there you will find the answers for which you are seeking.
Last edited by blackcatcoder on Sun Apr 09, 2006 11:00 pm, edited 1 time in total.
darktemplar
Posts: 17
Joined: Mon Jan 16, 2006 12:00 am
Location: Poland
Contact:

Re: [ask]creating a file system (FAT32)

Post by darktemplar »

First thing - clusters can't be used in modern FS'es.

www.letterp.com/~dbg/practical-file-system-design.pdf explains that and some more stuff with BeFS design.
<a href="http://miaexokernel.sourceforge.net">Mia Exokernel</a>
If you want to map 16 EB using 4kb pages in IA-64, these structures will require 33619968 GB 131328 MB.
mrkaktus
Member
Member
Posts: 102
Joined: Thu Jan 06, 2005 12:00 am
Location: Poland - Gdansk
Contact:

Re: [ask]creating a file system (FAT32)

Post by mrkaktus »

He just want to include driver for FAT32 to his OS :).
Post Reply