Re: Volume status
Re: Volume status
- Subject: Re: Volume status
- From: "Adam K. Wuellner" <email@hidden>
- Date: Fri, 1 Oct 2004 12:39:56 -0500
On Oct 1, 2004, at 11:35 AM, Adam K. Wuellner wrote:
I used 'properties of disk 3' in a Finder tell block to get the
following information:
{<snip>}
As you can see, you can determine the owner, group, permissions, free
space, file system format, etc. Does this give you what you need?
I noticed I got nothing that would tell me wether I can write to my
mounted disk images... for that, turn to do shell script and hdiutil:
do shell script "hdiutil info"
-->
"framework : 76.3
revision : 10.3.4d76.3
vendor : Apple
images : 3
================================================
image-path : /Users/akw/diskimages/script.sparseimage
image-alias : /Users/akw/diskimages/script.sparseimage
shadow-path : <none>
icon-path :
/System/Library/PrivateFrameworks/DiskImages.framework/Resources/
CDiskImage.icns
image-type : sparse disk image
blockcount : 1331200
blocksize : 512
writeable : TRUE
autodiskmount : TRUE
removable : TRUE
image-encrypted : false
mounting user : akw
mounting group : akw,appserverusr,admin,appserveradm
mounting mode : <unknown>
process ID : 1558
/dev/disk2 Apple_partition_scheme
/dev/disk2s1 Apple_partition_map
/dev/disk2s2 Apple_HFS /Volumes/script
================================================
image-path : /Users/akw/diskimages/awuellner.dmg
image-alias : /Users/akw/diskimages/awuellner.dmg
shadow-path : <none>
icon-path :
/System/Library/PrivateFrameworks/DiskImages.framework/Resources/
CDiskImage.icns
image-type : UDIF read/write
blockcount : 22504826
blocksize : 512
writeable : false
autodiskmount : TRUE
removable : TRUE
image-encrypted : false
mounting user : akw
mounting group : akw,appserverusr,admin,appserveradm
mounting mode : <unknown>
process ID : <in-kernel>
/dev/disk3 Apple_partition_scheme
/dev/disk3s1 Apple_partition_map
/dev/disk3s2 Apple_HFS /Volumes/awuellner"
You get a listing of useful information for each mounted disk image (I
snipped one of the three to save some space). Note the 'writeable'
property. If you prefer, you can pass the -plist option to hdiutil
info to get the results in plist XML.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden