Re: Script application hdiutil mount errors
Re: Script application hdiutil mount errors
- Subject: Re: Script application hdiutil mount errors
- From: Loukas Kalenderidis <email@hidden>
- Date: Thu, 17 Apr 2003 11:35:50 +1000
<snip>
Also, in my script after the image is mounted some files will be
copied to it
and then it will be dismounted. My preference is for the user not to
see Disk
Copy launch and then quit (depending on Disk Copy's preferences).
Okay...although it's not like you're going to hide the disk mounting
anyway.
john
If you really wanted to hide the disk mounting, a better way would be
to do the following (using do shell script):
mount the image to a different mount point, rather than in /Volumes
(the image does not appear on the desktop):
gir:~$ hdid -nomount blah.dmg
/dev/disk2 Apple_partition_scheme
/dev/disk2s1 Apple_partition_map
/dev/disk2s2 Apple_HFS
gir:~$ mount_hfs /dev/disk2s2 mnt
[copy your files]
unmount the image:
gir:~$ umount /dev/disk2s2
Loukas
----
Loukas Kalenderidis
Angier Consulting Pty Ltd
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.