Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rutgers!sri-spam!sri-unix!hplabs!pesnta!amd!amdcad!decwrl!ssdevo.dec.com!bates From: bates@ssdevo.dec.com (Ken Bates DTN 522-2039) Newsgroups: net.micro.mac Subject: Non-ejectable volumes Message-ID: <5818@decwrl.DEC.COM> Date: Tue, 7-Oct-86 21:30:23 EDT Article-I.D.: decwrl.5818 Posted: Tue Oct 7 21:30:23 1986 Date-Received: Wed, 8-Oct-86 22:19:13 EDT Sender: daemon@decwrl.DEC.COM Organization: Digital Equipment Corporation Lines: 20 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