From owner-freebsd-stable@FreeBSD.ORG Tue Jul 23 03:19:13 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 3AE4E2B8 for ; Tue, 23 Jul 2013 03:19:13 +0000 (UTC) (envelope-from doconnor@gsoft.com.au) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id BA1F722E7 for ; Tue, 23 Jul 2013 03:19:12 +0000 (UTC) Received: from ur.gsoft.com.au (Ur.gsoft.com.au [203.31.81.31]) (authenticated bits=0) by cain.gsoft.com.au (8.14.4/8.14.3) with ESMTP id r6N3IZCm079921 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Tue, 23 Jul 2013 12:48:41 +0930 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Date: Tue, 23 Jul 2013 12:48:35 +0930 Subject: kern.geom.conftxt broken in the presence of geom_raid To: freebsd-stable stable Message-Id: <7539E32C-FB2A-4E84-9E58-17F5FED8B284@gsoft.com.au> Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) X-Mailer: Apple Mail (2.1508) X-Spam-Score: -3.633 () ALL_TRUSTED,BAYES_00,RP_MATCHES_RCVD X-Scanned-By: MIMEDefang 2.67 on 203.31.81.10 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Jul 2013 03:19:13 -0000 I am trying to write a script which generates a list of devices to = install on (hopefully with some vaguely descriptive message next to it) = and I noticed that kern.geom.conftxt is mangled when there is a graid = volume present, eg.. root@test92:/root # sysctl kern.geom.conftxt | less kern.geom.conftxt: 0 DISK ada2 500107862016 512 hd 16 sc 63 1 RAID raid/r0 500104691712 512(null)Intel RAID1 volume (null) (null)RAID1 (null)RAID1 (null)2 (null)65536 (null)OPTIMAL (null)No (null)ada1 (ACTIVE), ada2 (ACTIVE) 2 PART raid/r0p6 471372660736 512 i 6 o 27917370368 ty freebsd-ufs xs = GPT xt 516e7cb6-6ecf-11d6-8ff8-00022d09712b 3 LABEL gptid/821a18d0-efb3-11e2-855b-002590d071b5 471372660736 512 i 0 = o 0 3 LABEL ufsid/51e7fdbd167c3fbb 471372660736 512 i 0 o 0 2 PART raid/r0p5 21474836480 512 i 5 o 6442533888 ty freebsd-ufs xs GPT = xt 516e7cb6-6ecf-11d6-8ff8-00022d09712b It looks like the tag has been pushed in where it shouldn't be. So, I guess I'll have to find some other way to generate my list :) -- 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