Some senseless babbling from Jonathan De Boyne Pollard to Mike Ruskai
on 10-18-99 08:56 about DosDevIOCtl()...
MR> The head/cylinder numbers are relative to the beginning of the
MR> logical drive. Sort of.
JDBP> I *suspect*, from experience with the Graham Utilities DISKEDIT, that
JDBP> you'll find that your hypothesis does not work for multiple primary
JDBP> partitions (such as is the case if Boot Manager is installed at the
JDBP> start of the disc, for example).
The category 8 functions are designed for logical disks, so outside of the
given logical drive, it shouldn't matter what's going on. The handle used
is from DosOpen(), and is not a physical drive handle.
Nevertheless, I couldn't quite figure out why I wasn't getting the HPFS
SuperBlock with some drives. I thought I nailed the problem by noting and
using the hidden sectors value from the BIOS parameter block, but someone
cured me of that pretty quickly.
So, I put the drive into sector mode (using what Vitus posted), which makes
things much simpler.
After poking around, I've run into a strange situation, which you can read
about in a post entitled "HPFS freespace bmp list".
Mike Ruskai
thannymeister@yahoo.com
... Cats are not pets; they own the house and let you live there.
___ Blue Wave/QWK v2.20
--- Platinum Xpress/Win/Wildcat5! v3.0pr2
* Origin: FIDO QWK MAIL & MORE! WWW.DOCSPLACE.ORG (1:3603/140)
|