• 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: bundlePath, FSPathMakeRef and FSGetCatalogInfo alias error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bundlePath, FSPathMakeRef and FSGetCatalogInfo alias error


  • Subject: Re: bundlePath, FSPathMakeRef and FSGetCatalogInfo alias error
  • From: Clark Cox <email@hidden>
  • Date: Wed, 23 Jun 2004 13:39:46 -0400

On Jun 23, 2004, at 12:03, Emmanuel Verlynde wrote:

> I need to obtain volume reference of device from wich application is
> started.
>
> If application is started from a cdrom drive, path appears like this:
>
> NSString * appPath = [[NSBundle mainBundle] bundlePath];
> appPath <<< "/Volumes/MacMagCD"
>
> But, how FSPathMakeRef can determine good reference if two volumes
> have the
> same name?
>
> example two identical compact disc into two cd-rom drive.
>
> /Volumes/MacMagCD <<< cd-rom drive 1
> /Volumes/MacMagCD <<< cd-rom drive 2

That simply cannot happen. Even if two volumes have the same name,
they will have different mount-points.

--
Clark S. Cox III
email@hidden
http://homepage.mac.com/clarkcox3/
http://www.livejournal.com/users/clarkcox3/

[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >bundlePath, FSPathMakeRef and FSGetCatalogInfo alias error (From: "Emmanuel Verlynde" <email@hidden>)

  • Prev by Date: Re: Dynamic User Interface with Cocoa
  • Next by Date: Re: bundlePath, FSPathMakeRef and FSGetCatalogInfo alias error
  • Previous by thread: Re: bundlePath, FSPathMakeRef and FSGetCatalogInfo alias error
  • Next by thread: Re: bundlePath, FSPathMakeRef and FSGetCatalogInfo alias error
  • Index(es):
    • Date
    • Thread