Re: bundlePath, FSPathMakeRef and FSGetCatalogInfo alias error
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.