TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: DARIN MCBRIDE
from: MIKE RUSKAI
date: 1999-10-24 22:11:00
subject: HPFS freespace bmp list

Some senseless babbling from Darin Mcbride to Mike Ruskai
on 10-24-99  13:18 about HPFS freespace bmp list...

 MR> I wouldn't dream of distributing a "low-level" hard drive program without
 MR> source ;)

 DM> :-)

 DM> [0] f:\new\d>fspace.exe f:

 DM> Reported free sectors: 13506154

 DM> Actual free sectors: 13510250

 DM> Free sector discrepancy: 4096

 DM> Reported free space: 6915150848

 DM> Actual free space: 6917248000

 DM> Free space discrepancy: 2097152

[snip]

Well, it seems that the discrepancy is universal.  I found that the sectors
in question were the first 4096 of the last 4100 sectors on the drive (the
last four sectors being the last freespace bitmap on the drive).

I've also found that with at least one version of HPFS386, sector I/O mode
isn't supported.  DosFSCtl() returns an unknown function error.

So, I'll have to stumble around DosDevIOCtl() once again, and see if I
can't properly deal with primary partitions.

Mike Ruskai
thannymeister@yahoo.com


... A cat will always sit on whatever it is you're trying to read or copy.

___ Blue Wave/QWK v2.20
--- Platinum Xpress/Win/Wildcat5! v3.0pr2
292/854
* Origin: FIDO QWK MAIL & MORE! WWW.DOCSPLACE.ORG (1:3603/140)

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™.