Re: 1581 Disk Partitions

From: Ojala Pasi 'Albert' (albert_at_cs.tut.fi)
Date: 2002-05-16 15:33:13

> When the new partition is created the BAM in the parent is allocated all the
> blocks the partition has been assigned. However, after a N: is given the
> partition BAM has all blocks outside the partition (and local dir-track)
> allocated, and the free space in the partition "free" and that is how DOS
> knows how to allocate within the partion space.

Actually the DOS always remembers/knows the selected partition bounds,
i.e. the lower and upper track numbers, or at least the directory track
position.

Only the used blocks in the directory track are allocated after format,
i.e. 0-3, I think (0 for disk header, 1&2 BAM, 3 the first directory
block).

The allocation of data blocks start from dirtrack+1 upwards (and for
root partition also from dirtrack-1 downwards), so that normal data
is not stored in directory track. New directory blocks are allocated
when required from the directory track.

1581 DOS does not perform data allocation from directory track or
directory allocation from data tracks when space runs out, but there
is no technical reason for not doing it.

-Pasi
-- 
/Sometimes he thought life would be simpler if he could just forget women
 altogether. Now Aviendha had started creeping into his dreams, as if Min and
 Elayne were not bad enough. Women tied his emotions in knots, and he had to
 be clearheaded now./ -- Rand in The Wheel of Time:"The Shadow Rising"

       Message was sent through the cbm-hackers mailing list

Archive generated by hypermail 2.1.4.