• 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: Droplet for disks with duplicate names
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Droplet for disks with duplicate names


  • Subject: Re: Droplet for disks with duplicate names
  • From: Dave Lyons <email@hidden>
  • Date: Thu, 22 Sep 2005 19:39:12 -0700

As far as I can tell, the lack of a Finder disk id property (and corresponding "disk id <number>" reference form) is an oversight in Mac OS X, and nobody has asked for it before now. It worked in Finder 9. I've entered a Radar bug to track this.

Cheers,

--Dave

On Sep 22, 2005, at 10:23 AM, Luther Fuller wrote:

I've been meaning to ask a question along these lines for a few weeks, but just didn't get around to it.

I too ran into a problem with multiple mounted disks having the same name. A search of Apple's web site produced a document, dated 1999, showing exactly how to solve this problem using disk ID numbers. The solution was to identify the disk in Finder by ID number, then eject the disk by simply telling the Finder to 'eject disk ID idNr'. This solution no longer works, however.

The problem with doing this in the current OS (10.4) is that:
1. System Events understands what an ID number is and lets you identify a disk by ID, but has no 'eject' command.
2. Finder has an 'eject' command, but no longer recognizes ID numbers.


Does anyone know when this change was made? And, more importantly, why?

A solution, which I have not yet tried, is to use the Unix name of identically named disks. For example, if you have 3 ejectable disks mounted, all named 'untitled', Unix will identify them as 'untitled', 'untitled 1' and 'untitled 2'. You can unmount the correct disk by using the unix name, provided you escape the space character in the posix path ('untitled\ 1' for example).
_______________________________________________
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


References: 
 >Re: Droplet for disks with duplicate names (From: Luther Fuller <email@hidden>)

  • Prev by Date: Re: Droplet for disks with duplicate names
  • Next by Date: Dave Lyons
  • Previous by thread: Re: Droplet for disks with duplicate names
  • Next by thread: Perhaps OT: how to make a custom CD that opens upon insertion to a window with custom background and icons
  • Index(es):
    • Date
    • Thread