• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Script application hdiutil mount errors
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: Script application hdiutil mount errors (From: "John C. Welch" <email@hidden>)

  • Prev by Date: Re: Stay Popup script doewsn't work on this Mac
  • Next by Date: Re: Script application hdiutil mount errors
  • Previous by thread: Re: Script application hdiutil mount errors
  • Next by thread: RE: Script application hdiutil mount errors
  • Index(es):
    • Date
    • Thread