OSDev.org

The Place to Start for Operating System Developers
It is currently Thu Mar 28, 2024 1:21 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: How do I implement a filesystem?
PostPosted: Wed Sep 06, 2017 6:49 am 
Offline

Joined: Wed Sep 06, 2017 6:46 am
Posts: 3
Hi.

I am a beginner to os development. I've done very well. I have been experimenting. I've been playing with INT 13h, INT 10h and INT 16h.

I would like to know how to implement FAT12 please. I've checked out the wiki and some forum threads. Where wood be a good starting point?

_________________
Vincent Sandoval


Top
 Profile  
 
 Post subject: Re: How do I implement a filesystem?
PostPosted: Wed Sep 06, 2017 9:15 am 
Offline
Member
Member
User avatar

Joined: Sat Nov 22, 2014 6:33 pm
Posts: 934
Location: USA
First, you should find the FAT specification. Google is your friend.

Second, you should find a disk image that is already formatted and (heavily) used with this FAT file system on it so that you can extract information from it. See how it is put together.

Something I did when I first started, and I strongly suggest, is that you write a small utility that will view the MBR, BPB (BIOS Parameter Block), and/or other parts of the file system in question. Dump the contents of an already built file system.

I use WinXP as my development system. You can see what I am talking about at http://www.fysnet.net/win_dump.htm. You should do the same using whatever development system you are using.

With the specification sheet and the extracted information both in front of you, you should be able to see exactly what the file system does and how to implement it yourself.

Once you have done this, be sure to let us know of any other questions you may have.

Ben


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: 8infy and 72 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group