From owner-freebsd-questions@FreeBSD.ORG Fri Apr 30 19:47:12 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0AADB106566C for ; Fri, 30 Apr 2010 19:47:12 +0000 (UTC) (envelope-from illoai@gmail.com) Received: from mail-yw0-f183.google.com (mail-yw0-f183.google.com [209.85.211.183]) by mx1.freebsd.org (Postfix) with ESMTP id A883D8FC0C for ; Fri, 30 Apr 2010 19:47:11 +0000 (UTC) Received: by ywh13 with SMTP id 13so255182ywh.8 for ; Fri, 30 Apr 2010 12:47:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=N8Zfn9sJFhQGzttpt4o6FZD/8r1SVcLynbJBHh4NByc=; b=wW5OmohRpF/hguRUuxqu2I8B9S3U6aVjikSCgQuQHkxCr44yU3IoBP7+6u9KciF2GH lFPWPXDuORbGX7R3zWr8RtxKdtPW3Rf5Wo+yhJEWNoEJSEu8fX7fjklPqJpBHxwQZnaR lRWhuWEd/fRPE8Uk0g6dcJQstGn4uVh/kIM/4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=DIAlawJK+SMOBurPcOis+yYwGSBGlwHKofhgBHnPII5s19lzOmc+GdUO1vNbe9GAaG c8xSLvc6Hyd5kfcbtEDarOaFKPSTrItpye2LmvTaS4xEeLEYMFw7qhTc6xByuIo6OXr9 1+V18mDVrwgFAg88kMk79IsXCazThNVtRG9dM= MIME-Version: 1.0 Received: by 10.91.162.16 with SMTP id p16mr614276ago.101.1272656825992; Fri, 30 Apr 2010 12:47:05 -0700 (PDT) Received: by 10.90.84.19 with HTTP; Fri, 30 Apr 2010 12:47:05 -0700 (PDT) In-Reply-To: <4BD76559.6000006@giovannetti.ca> References: <4BD6375B.6030500@giovannetti.ca> <87y6g9v8vb.fsf@cjlinux.localnet> <4BD76559.6000006@giovannetti.ca> Date: Fri, 30 Apr 2010 15:47:05 -0400 Message-ID: From: "illoai@gmail.com" To: "Mark G." Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: How to determine /dev/ad* from mount label X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Apr 2010 19:47:12 -0000 On 27 April 2010 18:29, Mark G. wrote: > On 04/27/2010 00:04, Carl Johnson wrote: >> >> "Mark G." =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 --