Re: How to get system volume path ?
Re: How to get system volume path ?
- Subject: Re: How to get system volume path ?
- From: Daniel Jalkut <email@hidden>
- Date: Thu, 16 Sep 2004 18:23:54 -0700
Use the NSFileManager method "displayNameAtPath:", which will convert
the path "/" to whatever the actual name of the volume is.
You should probably also use it for the other volumes, though I'm not
sure it will make any difference in any OS versions today.
Daniel
On Sep 16, 2004, at 5:57 PM, wall wrote:
I have three volumes on my HD. They are system,
workspace, and backup.( I use MacOSX 10.2.8 operation
system on my Mac.) I want to get these three volumes
by use NSWorkspace's mountedLocalVolumePaths mothod.
workspace and backup volumes are ok, but system volume
is "/" .
So anyone know how to get system volume's path(or
name)?
Please give me some advice.
Thanks a lot.
_________________________________________________________
Do You Yahoo!?
150~{MrGz~}MP3~{7h?qKQ#,4xDz43HkRt@V5nLC~}
http://music.yisou.com/
~{email@hidden&SP>!SP#,KQ1iC@M<!"Q^M<:M?aM<~}
http://image.yisou.com
1G~{>MJG~}1000~{UW#,QE;"5gSJWTVz@)H]#!~}
http://cn.rd.yahoo.com/mail_cn/tag/1g/*http://cn.mail.yahoo.com/event/
mail_1g/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
sweater.com
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden