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.
volume info: returns a list of info for all disks
volume info[for volume named string] -- the name of volume to get info forClass volume information:
[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
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
1.0d (c. 1994)
If you have any questions, comments, (constructive) criticism, or bug reports please let me know. You can contact me at the address(es) below.
Carl Bell's Web Page
Stuff I've Written
Carl W. BellPhone:
Academic and Research Computing Services
Baylor University Electronic Library
One Bear Place #97148
Waco, TX 76798
(254) 710-4065Baylor'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 UniversityThe 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.
All Rights Reserved
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.