Date: Fri, 30 Apr 2010 15:47:05 -0400 From: "illoai@gmail.com" <illoai@gmail.com> To: "Mark G." <mark-fbsd-quest-10+20100426@giovannetti.ca> Cc: freebsd-questions@freebsd.org Subject: Re: How to determine /dev/ad* from mount label Message-ID: <x2zd7195cff1004301247o40c3781bv16b29b9c8377aa0@mail.gmail.com> In-Reply-To: <4BD76559.6000006@giovannetti.ca> References: <4BD6375B.6030500@giovannetti.ca> <87y6g9v8vb.fsf@cjlinux.localnet> <4BD76559.6000006@giovannetti.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
On 27 April 2010 18:29, Mark G. <mark-fbsd-quest-10+20100426@giovannetti.ca> wrote: > On 04/27/2010 00:04, Carl Johnson wrote: >> >> "Mark G."<mark-fbsd-quest-10+20100426@giovannetti.ca> =A0writes: > > [...] >>> >>> I just wanted to know if there was a utility to tell me >>> which actual device was mounted. =A0I also tried camcontrol devlist >>> and atacontrol list. =A0The 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). =A0I 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. =A0Thanks! > & if the verbosity isn't high enough geom label list or glabel list will certainly cover that. --=20 --
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?x2zd7195cff1004301247o40c3781bv16b29b9c8377aa0>