[net.micro.mac] Non-ejectable volumes

bates@ssdevo.dec.com (Ken Bates DTN 522-2039) (10/08/86)

Is there a quick and easy way to determine if a specific volume is a hard disk,
e.g., non-ejectable? Specifically, I am skimming through all volumes by
incrementing ioVolIndex in the paramBlockRec, and performing a PBGetVolInfo for
each incrementation. In addition to other things which I currently do, I would
like to determine if the referenced volume is a hard disk. Is there anything I 
can do with the returned information to see whether or not the volume is a 
hard disk?

The only reference I can find to non-ejectable disks in IM is via the drive 
queue (referencing the 4 bytes which precede each drive queue entry), but 
this is a little difficult to relate to the information returned by a 
GetVolInfo, not to mention it quite ugly.

Anyone out there have any ideas? BTW, I also need (or would like) to be able 
to do this on both HFS and MFS volumes, and on the 64K and 128K ROMs. Thanks in
advance for any help...

 - Ken Bates