#: 16049 S12/OS9/68000 (OSK)
27-Jul-92 21:51:42
Sb: #16042-Lost of root directory
Fm: Pete Lyall 76703,4230
To: Stephen Seneker 75020,3611 (X)
Stephen -
Not a feat for the faint hearted, I assure you.
Number 1: You MUST be (or become) familiar with OS9 disk structure. LSN0
defines the disk's parameters, dates, and layout of the bitmap, which are the
sectors that follow.
Typically, an os9 disk (ANY type) is of the structure:
Sector 0 - LSN0 (data about the disk)
Sector 1-n - Bit map (bit =1 means cluster is in use; 0 = free)
Sector N+1 - FD sector of root directory
Sector N+2 - N+2+SAS - Initial root directory.
SAS is the segment allocation size, and is the minimum amount the disk/file
manager will allocate. _Usually_, on hard disks this is 32 sectors.
Is this enough to get you started?
Pete
|