From owner-freebsd-current@FreeBSD.ORG Tue Oct 8 21:21:10 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 3F1B25FA; Tue, 8 Oct 2013 21:21:10 +0000 (UTC) (envelope-from jmg@h2.funkthat.com) Received: from h2.funkthat.com (gate2.funkthat.com [208.87.223.18]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id F31892338; Tue, 8 Oct 2013 21:21:09 +0000 (UTC) Received: from h2.funkthat.com (localhost [127.0.0.1]) by h2.funkthat.com (8.14.3/8.14.3) with ESMTP id r98LL4Vw011437 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 8 Oct 2013 14:21:04 -0700 (PDT) (envelope-from jmg@h2.funkthat.com) Received: (from jmg@localhost) by h2.funkthat.com (8.14.3/8.14.3/Submit) id r98LL3Ep011436; Tue, 8 Oct 2013 14:21:03 -0700 (PDT) (envelope-from jmg) Date: Tue, 8 Oct 2013 14:21:03 -0700 From: John-Mark Gurney To: "Teske, Devin" Subject: Re: [CFT] Patch to bsdinstall to support root-on-ZFS and GELI Message-ID: <20131008212103.GJ56872@funkthat.com> Mail-Followup-To: "Teske, Devin" , Nathan Whitehorn , "" , Allan Jude References: <52531295.7090700@allanjude.com> <52546844.2010608@freebsd.org> <13CA24D6AB415D428143D44749F57D720FC46255@LTCFISWMSGMB21.FNFIS.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <13CA24D6AB415D428143D44749F57D720FC46255@LTCFISWMSGMB21.FNFIS.com> User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 7.2-RELEASE i386 X-PGP-Fingerprint: 54BA 873B 6515 3F10 9E88 9322 9CB1 8F74 6D3F A396 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html X-to-the-FBI-CIA-and-NSA: HI! HOW YA DOIN? can i haz chizburger? X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.2 (h2.funkthat.com [127.0.0.1]); Tue, 08 Oct 2013 14:21:04 -0700 (PDT) Cc: "" , Nathan Whitehorn , Allan Jude X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Oct 2013 21:21:10 -0000 Devin Teske wrote this message on Tue, Oct 08, 2013 at 20:50 +0000: > > 2. Why are you using camcontrol? That is guaranteed not to work on > > non-CAM systems. You should use the GEOM ident string if you need an ID. > > I imagine we could get the info from many places, and to be honest, I never > knew about "diskinfo" until last week (but apparently it's been around since > 5.x days). > > The one place where I suspect camcontrol(8) usage is appropriate is the > mini "disk inspector" dialog. The camcontrol inquiry output is specifically > helpful if/when you're doing multipathing (and you need to identify which > da# devices are duplicates of the same device -- given Serial#). > > But I gather you mean for "disk description" in the device menu (for picking > text to go along with the device name). > > I'm open to using a different tool... or multiple tools. Do you think it would be > better to just stick to one tool? or to query a few? (which ones win-out?) diskinfo -v dumps the serial number for you under disk ident.. diskinfo gets it from geom and most geoms properly present that info now... or at least probably anyones support by cam will do it automatically... -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."