Volume Info OSAX 1.4 - by Carl W. Bell
Copyright © 1994-1999 Baylor University

Note: If you got here using a web search engine, you can find the program here.

Disclaimer: Although Volume Info seems to work fine, it is distributed "as is". Use at your own risk. So there.

Volume Info is an AppleScript scripting addition (OSAX) that returns information about all volumes currently mounted on the Mac. You can also get info on a single specified volume. The information is returned as a list of records.

The Dictionary...

volume info: returns a list of info for all disks

volume info

[for volume named string] -- the name of volume to get info for
[for volume index small integer] -- the index of a volume in VCB list
[for drive number small integer] -- the number of the drive to get info for
Result: list
Class volume information:

Properties:

name string [r/o] -- the volume's name
volume reference number small integer [r/o] -- the volume reference number
drive number small integer [r/o] -- the drive number
driver reference number small integer [r/o] -- the driver reference number
driver name string [r/o] -- the driver's name
interface string [r/o] -- the drive's interface
SCSI Bus small integer [r/o] -- the SCSI Bus
SCSI ID small integer [r/o] -- the SCSI ID
SCSI LUN small integer [r/o] -- the SCSI LUN (Logical Unit Number)
ATA bus small integer [r/o] -- the ATA bus
ATA device small integer [r/o] -- the ATA device
creation date date [r/o] -- the date and time of initialization
modification date date [r/o] -- the date and time of last modification
backup date date [r/o] -- the date and time of last backup
locked boolean [r/o] -- is the volume write protected?
ejected boolean [r/o] -- is disk ejected?
capacity real [r/o] -- the size of the volume in Mb
used real [r/o] -- used space in Mb
available real [r/o] -- free space available in Mb
file system ID small integer [r/o] -- the file system handling this volume
file system name string [r/o] -- the file system ID as text
number of files integer [r/o] -- the number of files on the volume
number of directories integer [r/o] -- the number of directories on the volume

Release Notes:

1.4 (26-May-99)

1.3 (23-Mar-98)

1.2 (28-Jan-98)

1.1 (3-Oct-97)

1.0d (c. 1994)

Notes:

If you have any questions, comments, (constructive) criticism, or bug reports please let me know. You can contact me at the address(es) below.

-cb

Carl_Bell@baylor.edu
Carl Bell's Web Page
Stuff I've Written

Snail Mail:

Carl W. Bell
Academic and Research Computing Services
Baylor University Electronic Library
One Bear Place #97148
Waco, TX 76798
Phone:
(254) 710-4065
Baylor's Fine Print:

This software, data and/or documentation contain trade secrets and confidential information which are proprietary to Baylor University. Their use or disclosure in whole or in part without the express written permission of Baylor University is prohibited.

This software, data and/or documentation are also unpublished works protected under the copyright laws of the United States of America. If these works become published, the following notice shall apply:

Copyright © 1994-1999 Baylor University
All Rights Reserved
The name of Baylor University may not be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE, DATA AND/OR DOCUMENTATION ARE PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.

When permission has been granted to make copies of this software, data and/or documentation, the above notices must be retained on all copies.

Permission is hereby granted for non-commercial use and distribution of Volume Info OSAX.