Re: Script application hdiutil mount errors
Re: Script application hdiutil mount errors
- Subject: Re: Script application hdiutil mount errors
- From: "John C. Welch" <email@hidden>
- Date: Wed, 16 Apr 2003 21:42:03 -0400
On 04/16/2003 21:35, "Loukas Kalenderidis" <email@hidden>
wrote:
>
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
The problem with that is getting the disk system to play nice with it for
different things. AFS doesn't mount in /volumes, and it can get really weird
sometimes
john
--
"I wish to have no connection with any ship that does not sail fast, for I
intend to go in harm's way."
- John Paul Jones (later adopted by the US Navy's Special Boat Units)
_______________________________________________
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.