From owner-freebsd-stable@FreeBSD.ORG Sun Jul 4 23:42:34 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A6F64106566C; Sun, 4 Jul 2010 23:42:34 +0000 (UTC) (envelope-from doconnor@gsoft.com.au) Received: from cain.gsoft.com.au (unknown [IPv6:2001:44b8:7c07:5581:36b8:7bff:fee0:1a08]) by mx1.freebsd.org (Postfix) with ESMTP id E99168FC19; Sun, 4 Jul 2010 23:42:33 +0000 (UTC) Received: from ur.dons.net.au (ppp121-45-156-127.lns6.adl6.internode.on.net [121.45.156.127]) (authenticated bits=0) by cain.gsoft.com.au (8.14.4/8.14.3) with ESMTP id o64NgPq3089903 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Mon, 5 Jul 2010 09:12:31 +0930 (CST) (envelope-from doconnor@gsoft.com.au) Mime-Version: 1.0 (Apple Message framework v1081) Content-Type: text/plain; charset=us-ascii From: "Daniel O'Connor" In-Reply-To: <18DD407F-8776-4401-AA53-D71466219143@gsoft.com.au> Date: Mon, 5 Jul 2010 09:12:24 +0930 Content-Transfer-Encoding: quoted-printable Message-Id: <8E10234C-B4C0-4DF5-9AC9-A8C9C14AE010@gsoft.com.au> References: <20100704152205.GA1734@a91-153-117-195.elisa-laajakaista.fi> <18DD407F-8776-4401-AA53-D71466219143@gsoft.com.au> To: "Daniel O'Connor" X-Mailer: Apple Mail (2.1081) X-Spam-Score: 0.163 () BAYES_00,RDNS_DYNAMIC X-Scanned-By: MIMEDefang 2.67 on 203.31.81.10 Cc: Jaakko Heinonen , FreeBSD Stable Subject: Re: GEOM/bsdlabel regression in 8.x? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Jul 2010 23:42:34 -0000 On 05/07/2010, at 9:06, Daniel O'Connor wrote: >=20 > On 05/07/2010, at 24:52, Jaakko Heinonen wrote: >=20 >> On 2010-07-04, Daniel O'Connor wrote: >>> "bsdlabel: Class not found" >>=20 >> This is because GEOM_BSD -> GEOM_PART_BSD change. bsdlabel(8) needs >> read-write access to the device. If it can't get that, it tries an >> alternative GEOM based method only supported by GEOM_BSD. The error >> message "Class not found" is printed because the "BSD" GEOM class >> doesn't exist. >>=20 >> You might be able to do the changes with gpart(8). >=20 > Ahh that does work.. >=20 > midget# gpart add -t freebsd-ufs -i 4 md0s1 > IMO it's still a regression because bsdlabel used to work, although I = can appreciate it might be a rather in depth change to have it work with = the New World Order (tm). So, why didn't it? Shouldn't it DTRT? This is a stock kernel. -- 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