• 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: Axel Luttgens <email@hidden>
  • Date: Sun, 24 Aug 2008 13:13:31 +0200

Le 22 août 08 à 23:26, Smith, Mike a écrit :

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.

Thanks!

--12OCT2005 - mounts thee images as CDs to the desktop

tell application "Finder"

try
do shell script "hdiutil mount /Users/Shared/Oregon- Trail-5.dmg -noverify -quiet -nobrowse"
end try
beep
try
do shell script "hdiutil mount /Users/Shared/Math-3-5.dmg - noverify -quiet -nobrowse"
end try
beep
try
do shell script "hdiutil mount /Users/Shared/Math-K-2.dmg - noverify -quiet -nobrowse"
end try
beep
end tell

Hello Mike,

As a preliminary, above commands do not need to be enclosed within a
	tell application "Finder"
block (sometimes, such unneeded targeting may even prove harmful).

Anyway, I've tested here on a 10.4.11 PPC box, and everything works as expected (being it enclosed within a tell block or not).

Now, it seems that your lab computers are bound to and managed by a server that you've just upgraded; are you sure some management settings have not been changed with the upgrade?
Could you try to run
hdiutil mount /Users/Shared/Oregon-Trail-5.dmg -noverify -quiet - nobrowse
on a lab computer in Terminal?
Does the image mount?
If not, could you try again without the -quiet option and/or to find some info in the logs?
If yes, could you tell us how/when/by whom your AS script is run? As well as how exactly it is failing?


HTH,
Axel


_______________________________________________ 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: Re: Hdiutil broken for me
  • Next by Date: Re: Shell Script Not Working from AppleScript Call
  • Previous by thread: Re: Hdiutil broken for me
  • Next by thread: Re: Hdiutil broken for me
  • Index(es):
    • Date
    • Thread