can anyone tell me links about making filesystems?
and how can i make memory management aplications?
Help!
-
- Member
- Posts: 1600
- Joined: Wed Oct 18, 2006 11:59 am
- Location: Vienna/Austria
- Contact:
Re:Help!
... the osdever formerly known as beyond infinity ...
BlueillusionOS iso image
BlueillusionOS iso image
- Pype.Clicker
- Member
- Posts: 5964
- Joined: Wed Oct 18, 2006 2:31 am
- Location: In a galaxy, far, far away
- Contact:
Re:Help!
i suggest you start reading http://members.tripod.com/~averstak/fatdox/00dindex.htm, which seems to be a good tutorial on how FAT filesystem works. As FAT is -- afaik -- the simplest file system ever, i suggest you train yourself by reimplementing one.
But before you start coding, you should learn how disks work in general (http://www.nondot.org/sabre/os/articles ... iscDrives/), except if you decide to work on a ramdisk (i.e. a simulated disk in memory).
Filesystem in general have to solve 2 problems:
Creating this handle is trivial once you know how to read the entry from the FAT directory structure, so all you have to worry about is how to update it when a read() or write() is issued.
But before you start coding, you should learn how disks work in general (http://www.nondot.org/sabre/os/articles ... iscDrives/), except if you decide to work on a ramdisk (i.e. a simulated disk in memory).
Filesystem in general have to solve 2 problems:
- for a given filename, create a structure that will be used to access the file (the file handle,
- for a given file handle, read from/write to the file.
Creating this handle is trivial once you know how to read the entry from the FAT directory structure, so all you have to worry about is how to update it when a read() or write() is issued.