On 27 April 2010 18:29, Mark G.
<mark-fbsd-quest-10+20100...@giovannetti.ca> wrote:
> On 04/27/2010 00:04, Carl Johnson wrote:
>>
>> "Mark G."<mark-fbsd-quest-10+20100...@giovannetti.ca>  writes:
>
> [...]
>>>
>>> I just wanted to know if there was a utility to tell me
>>> which actual device was mounted.  I also tried camcontrol devlist
>>> and atacontrol list.  The latter allowed me to determine that
>>> /dev/label/rootfs0 is ad2s1a based on the actual disk size
>>> and a process of elimination.
>>>
>>> Does anyone know a magic incantation to output this label->device
>>> mapping?
>>
>> Try looking at glabel(8).  I don't know what option will list which is
>> mounted, but 'glabel status' shows the names and what partitions they
>> are associated with.
>
>
> That's the ticket, I knew I was missing something.  Thanks!
>

& if the verbosity isn't high enough
geom label list
or
glabel list
will certainly cover that.

-- 
--
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to