Re: Getting name of root volume
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