Mapping /dev/gptid numbers to /dev/adXpY

Daniel O'Connor doconnor at gsoft.com.au
Mon Jul 25 04:29:42 UTC 2011


On 25/07/2011, at 13:54, Stephen Hocking wrote:
>> If you run 'gpart list' you will see a list of device names and UUIDs.
>> 
>> Mapping it by hand is a bit tedious though..
>> 
> 
> 
> Both Test Rat & Daniel pointed me towards gpart list. The gpart man
> page doesn't seem to mention the list command, which is probably why I
> missed it. Anyways, now all I have to do is label my hotswap drawers
> properly….


Yes, unfortunately(?) 'list' is a standard GEOM command so the part man page doesn't explicitly mention it.. IMO it would be nice if it did.

--
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C








More information about the freebsd-hackers mailing list