Re: Multiple disks with the same name
Re: Multiple disks with the same name
- Subject: Re: Multiple disks with the same name
- From: email@hidden
- Date: Mon, 29 Oct 2001 23:17:58 EST
Short answer: No.
Longer answer: No way.
Hear me now and believe me later - give every volume a unique name. Never
leave your hard drive with the default name "Macintosh HD" as it will cause
you nothing but frustration.
Here's an ugly (untested) workaround. Unmount the volumes, then mount the one
you want over TCP/IP. That way you will be sure to have the right one. This
may involve lots of mounting and unmounting, which is inelegant. Better to
rename the drives.
Jeff Baumann
email@hidden
www.linkedresources.com
In a message dated 10/29/01 3:30:34 PM, Ryan Hofschneider wrote:
>
Howdy all:
>
>
Let's say I have two disks (A and B) that are mounted and have the same
>
name. Disk A is the startup disk.
>
>
Is there an elegant way of writing AppleScript so that a file reference
>
on disk B isn't resolved as if it existed on disk A?
>
>
For example, if I'm executing something like this:
>
>
set dir to (folder of the front window)
>
if (class of dir is alias file) then
>
....
>
>
and the front window is showing a folder on disk B, I will get an error
>
saying "can't get class..." since it is trying to resolve the file
>
reference as if it existed on disk A, rather than disk B.
>
>
Thanks,
>
>
Ryan