From owner-freebsd-current@FreeBSD.ORG Sat Feb 21 08:30:08 2009 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0ACC91065673; Sat, 21 Feb 2009 08:30:08 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mail.cksoft.de (mail.cksoft.de [62.111.66.27]) by mx1.freebsd.org (Postfix) with ESMTP id B59168FC18; Sat, 21 Feb 2009 08:30:07 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from localhost (amavis.str.cksoft.de [192.168.74.71]) by mail.cksoft.de (Postfix) with ESMTP id C63C741C705; Sat, 21 Feb 2009 09:30:06 +0100 (CET) X-Virus-Scanned: amavisd-new at cksoft.de Received: from mail.cksoft.de ([62.111.66.27]) by localhost (amavis.str.cksoft.de [192.168.74.71]) (amavisd-new, port 10024) with ESMTP id PEyLEMR-yLvx; Sat, 21 Feb 2009 09:30:05 +0100 (CET) Received: by mail.cksoft.de (Postfix, from userid 66) id 355B441C69F; Sat, 21 Feb 2009 09:30:05 +0100 (CET) Received: from maildrop.int.zabbadoz.net (maildrop.int.zabbadoz.net [10.111.66.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.int.zabbadoz.net (Postfix) with ESMTP id DBB1C4448E6; Sat, 21 Feb 2009 08:25:29 +0000 (UTC) Date: Sat, 21 Feb 2009 08:25:29 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@maildrop.int.zabbadoz.net To: Marcel Moolenaar In-Reply-To: <725CDB16-7D31-42C9-924E-DB6B595BF071@mac.com> Message-ID: <20090221082155.T53478@maildrop.int.zabbadoz.net> References: <20090217113718.N53478@maildrop.int.zabbadoz.net> <725CDB16-7D31-42C9-924E-DB6B595BF071@mac.com> X-OpenPGP-Key: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: FreeBSD current mailing list Subject: Re: boot0cfg -s vs. GEOM_PART_*? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Sat, 21 Feb 2009 08:30:08 -0000 On Tue, 17 Feb 2009, Marcel Moolenaar wrote: Hi, > On Feb 17, 2009, at 3:46 AM, Bjoern A. Zeeb wrote: > >> dopt# gpart set -a active -i 3 ad4 >> gpart: pre-check failed: Device not configured > > Oops. This is a bug. The pre-check is not implemented > for the MBR scheme and should succeed. I seem to have > forgotten about the error that unimplemented methods > return (KOBJ default). I'll fix this right away... Thanks. I see boot0cfg no longer errors but I am not sure if it does the right thing: boot0cfg -s 5 ad0 (doesn't atter if it's 0 or 2 to the -s options) as dopt# gpart show ad0 => 63 312581745 ad0 MBR (149G) 63 122881122 1 !7 (59G) 122881185 2939895 - free - (1.4G) 125821080 125821080 2 freebsd (60G) 251642160 60934545 3 freebsd [active] (29G) 312576705 5103 - free - (2.5M) seems s3 is still active. That leaves me to the question - what's the boot0cfg -s5 equivalent with gpart? I think adding that to the man page might be a good idea. /bz -- Bjoern A. Zeeb The greatest risk is not taking one.