hi
i am trying to implement a module to support FAT 12 file system without long names support, and i would like to know how the subdirectories are implemented in FAT12
are they implemented as a linked list of clusters as any other file is?
i have read the data of a subdirectory on a floppy using the DEBUG dos utility, the directory entry that points to this subdirectory in the root directory indicates that the subdirectory is of zero-length (anybody understand anything?!!!)
the FAT indicates that the first cluster of the subdirectory is the last one (next cluster is FFF) even though the subdirectory holds much more entries than can be held on one cluster!
if my question is not clear plz tell me
a question about FAT directory structure
-
- Member
- Posts: 25
- Joined: Sat Jun 25, 2005 11:00 pm
Re: a question about FAT directory structure
take OSV1.0.ZIP from http://cody.homelinux.com/~digo_rp/
is my source of using fat12. This source is in pascal. is very simple to understand you can translate to whatever language you want.
the PcOSX is in gcc with nasm, this is a multitasking kernel on hardware based taskswitching. I use it with grub.
is my source of using fat12. This source is in pascal. is very simple to understand you can translate to whatever language you want.
the PcOSX is in gcc with nasm, this is a multitasking kernel on hardware based taskswitching. I use it with grub.