• 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: Hdiutil broken for me
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Hdiutil broken for me


  • Subject: Re: Hdiutil broken for me
  • From: Joe <email@hidden>
  • Date: Fri, 22 Aug 2008 15:11:58 -0700

>Content-Language: en
>Content-Type: multipart/alternative;
>	boundary="_000_C4D47D257EA9MikeSmithselahk12waus_"
>
>I have used this script for a few years until I updates from OS X 10.4.8 to OS X 10.4.11 and now it is broke. I have tried using attach as the verb instead of mount and that works spasmodically or not at all.
>
>I have googled and read the man hdiutil and I still can't get it to  work. There are no error messages.
>
>If someone has a script that will mount CD images so that we don't have to put in a CD in the lab computers then I would be grateful. We are using Intel and eMacs. OSX 10.4.8 and Workgroup Manager on a 10.4.11 G-4 Xserver.


I'm on Leopard and can't test this on 10.4.

I think this command may be looking for the *other name of the drive/disc. Try this, substituting your volume name for "My Book" in this script.

set whatItem to (do shell script "diskutil list | grep 'My Book'")
do shell script "diskutil mount " & (last word of whatItem)

Joe
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

References: 
 >Hdiutil broken for me (From: "Smith, Mike" <email@hidden>)

  • Prev by Date: Hdiutil broken for me
  • Next by Date: Re. Hdiutil broken for me
  • Previous by thread: Hdiutil broken for me
  • Next by thread: Re: Hdiutil broken for me
  • Index(es):
    • Date
    • Thread