• 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: Getting name of root volume
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting name of root volume


  • Subject: Re: Getting name of root volume
  • From: Scott Anguish <email@hidden>
  • Date: Wed, 2 May 2001 05:55:10 -0400

On Wednesday, May 2, 2001, at 02:04 AM, mmalcolm crawford wrote:

Deirdre wrote:
When I get the list of mounted disks, the boot volume is named "/", how can I get the hard disk name?
I think you're looking for a paradigm that isn't there.

Great line -- .sig material :-)

But: shouldn't it be possible to find the name using disklabel?


If you know the device number, then you can use

getmntinfo


  • Follow-Ups:
    • Re: Getting name of root volume
      • From: Deirdre Saoirse Moen <email@hidden>
References: 
 >Re: Getting name of root volume (From: mmalcolm crawford <email@hidden>)

  • Prev by Date: Why isn't this list 8 bit clean? (was: Re: Supplementary files of an app belong into ~/Library/Application Support)
  • Next by Date: Re: Mixed Objective-C and C++ for Cocoa App
  • Previous by thread: Re: Getting name of root volume
  • Next by thread: Re: Getting name of root volume
  • Index(es):
    • Date
    • Thread