TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: MIKE RUSKAI
from: Jonathan de Boyne Pollard
date: 1999-10-22 08:35:16
subject: HPFS freespace bmp list

 MR> The problem is that I'm not certain how to handle drives larger than
 MR> 4GB. The freespace bitmap list is four sectors long, which allows for
 MR> 512 data bands (about 4GB).  Also in the HPFS SuperBlock is a pointer
 MR> to a spare freespace bitmap list.  What's not there is the length of
 MR> this spare list. If it's only four sectors, like the primary list,
 MR> then HPFS dies at 8GB, without another list.

The length of the bitmap list is proportional to the drive size.  On my
7.82GiB HPFS volume the bitmap list is 8 sectors long, and contains pointers
to 1024 bitmaps (of which 1002 are used).  My educated guess is that the
length of the bitmap list is calculated by the HPFS driver from the overall
volume size.

The spare list sector in the superblock is zero, by the way.

 ¯ JdeBP ®

--- FleetStreet 1.22 NR
* Origin: JdeBP's point, using Squish (2:257/609.3)

SOURCE: echoes via The OS/2 BBS

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.