From owner-freebsd-current@FreeBSD.ORG Tue Oct 25 06:32:34 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4FCCE106564A for ; Tue, 25 Oct 2011 06:32:34 +0000 (UTC) (envelope-from phk@phk.freebsd.dk) Received: from phk.freebsd.dk (phk.freebsd.dk [130.225.244.222]) by mx1.freebsd.org (Postfix) with ESMTP id 0F60F8FC08 for ; Tue, 25 Oct 2011 06:32:33 +0000 (UTC) Received: from critter.freebsd.dk (critter.freebsd.dk [192.168.61.3]) by phk.freebsd.dk (Postfix) with ESMTP id 689575DAF; Tue, 25 Oct 2011 06:32:32 +0000 (UTC) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id p9P6WWeq067923; Tue, 25 Oct 2011 06:32:32 GMT (envelope-from phk@phk.freebsd.dk) To: "Andrey V. Elsukov" From: "Poul-Henning Kamp" In-Reply-To: Your message of "Tue, 25 Oct 2011 10:19:34 +0400." <4EA654F6.1060309@yandex.ru> Content-Type: text/plain; charset=ISO-8859-1 Date: Tue, 25 Oct 2011 06:32:32 +0000 Message-ID: <67922.1319524352@critter.freebsd.dk> Cc: freebsd-current@freebsd.org, Benjamin Kaduk Subject: Re: aliasing (or renaming) kern.geom.debugflags 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: Tue, 25 Oct 2011 06:32:34 -0000 In message <4EA654F6.1060309@yandex.ru>, "Andrey V. Elsukov" writes: >This is an OpenPGP/MIME signed message (RFC 2440 and 3156) >--------------enig1B092FDF9A756BE78BC74C01 >Content-Type: text/plain; charset=KOI8-R >Content-Transfer-Encoding: quoted-printable > >On 25.10.2011 10:08, Poul-Henning Kamp wrote: >> The way this used to work before gpart, is that boot0cfg would send >> a GEOM ctl-message to the MBR-geom asking "Would you please write this >> boot code ?" >>=20 >> Since the MBR-geom was the "owner" of the whole disk, and the one >> who had it open for writing, it could obviously do so, if it saw fit, >> and after it had edited its idea about the mbr-partition table into >> that boot-code. >>=20 >> Gpart appearantly does not implement such a ctl message. > >gpart does it in the same way. So why doesn't boot0cfg work ? -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.