• 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: Mount volume flaky/broken in Tiger?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mount volume flaky/broken in Tiger?


  • Subject: Re: Mount volume flaky/broken in Tiger?
  • From: Peter Waibel <email@hidden>
  • Date: Fri, 24 Jun 2005 12:06:31 +0200


Am 23.06.2005 um 19:32 schrieb email@hidden:

Hello,
Is anyone else having issues with the mount volume command in Tiger?
The following script works perfectly in Panther (actually, has worked well
since 9.0.4 . . .)


     set diskList to (list disks)
if diskList does not contain "Common" then
mount volume "afp://" & useName & ":" & usePass &
"@ourserver.domainname/Common"
end if
if diskList does not contain "Output" then
mount volume "afp://" & useName & ":" & usePass &
"@ourserver.domainname/Output"
end if

I don't have problems with the mount volume command on tiger. And my code looks similar to yours.

As a precaution I would avoid the use of operators (&) in an argument.
Mount volume needs a string as argument.
The & operator's result can be string, list or record,
depending on the operand to the left of the & operator.

set urlString to "afp://" & useName & ":" & usePass & "@ourserver.domainname/Common"
-- now it is easy to check the arguments for mount volume before using them
-- return urlString
-- return class of urlString
mount volume urlString



And so forth for the many volumes my editors mount from our XServe.
In Tiger, the results are extremely flaky. Usually, the first referenced
volume will mount, but the next volumes in the list don't. When I wrap the
mount volume command in a try statement, I get the following returned as
the error message and number:
"Disk some object wasn't found" -35 Hence, the volumes aren't being found
for some bizarre reason. I've checked network connectivity, so that's not
the issue.
Even more strange: Sometimes all of the volumes mount perfectly.
There seems no rhyme or reason or pattern to this. However, usually the
script fails to mount all of the volumes.
Anyone have thoughts/workarounds on this?
Thanks,
Jim


Jim Trebilcock
News Systems Editor
The Gainesville Sun
352-338-3157

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden


This email sent to email@hidden


_______________________________________________ Do not post admin requests to the list. They will be ignored. Applescript-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Mount volume flaky/broken in Tiger?
      • From: email@hidden
References: 
 >Mount volume flaky/broken in Tiger? (From: email@hidden)

  • Prev by Date: Re: posix path of string
  • Next by Date: Re: Major Tiger AppleScript security hole?
  • Previous by thread: Re: Mount volume flaky/broken in Tiger?
  • Next by thread: Re: Mount volume flaky/broken in Tiger?
  • Index(es):
    • Date
    • Thread