• 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: How to get system volume path ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: How to get system volume path ?
      • From: Andreas Monitzer <email@hidden>
References: 
 >How to get system volume path ? (From: wall <email@hidden>)

  • Prev by Date: How to get system volume path ?
  • Next by Date: Re: [Q] Bindings, FilteringController and KVC compliance
  • Previous by thread: How to get system volume path ?
  • Next by thread: Re: How to get system volume path ?
  • Index(es):
    • Date
    • Thread