From owner-freebsd-current@FreeBSD.ORG Wed Jun 6 16:05:30 2007 Return-Path: X-Original-To: freebsd-current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5E2E816A473 for ; Wed, 6 Jun 2007 16:05:30 +0000 (UTC) (envelope-from pav@FreeBSD.org) Received: from nat-application.b1.lan.prg.vol.cz (nat-application.b1.lan.prg.vol.cz [195.122.204.152]) by mx1.freebsd.org (Postfix) with ESMTP id 8B03613C447 for ; Wed, 6 Jun 2007 16:05:29 +0000 (UTC) (envelope-from pav@FreeBSD.org) Received: from pav.hide.vol.cz (localhost [127.0.0.1]) by nat-application.b1.lan.prg.vol.cz (8.13.8/8.13.8) with ESMTP id l56FjTkn051474; Wed, 6 Jun 2007 17:45:29 +0200 (CEST) (envelope-from pav@FreeBSD.org) Received: (from pav@localhost) by pav.hide.vol.cz (8.13.8/8.13.8/Submit) id l56FjSBk051455; Wed, 6 Jun 2007 17:45:28 +0200 (CEST) (envelope-from pav@FreeBSD.org) X-Authentication-Warning: pav.hide.vol.cz: pav set sender to pav@FreeBSD.org using -f From: Pav Lucistnik To: Ruslan Ermilov , wblock@wonkity.com In-Reply-To: <20070606153154.GB14456@rambler-co.ru> References: <20070606135815.GA913@darklight.abyss> <20070606145904.GA14456@rambler-co.ru> <20070606150536.GB875@darklight.abyss> <20070606153154.GB14456@rambler-co.ru> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-i7vltOcKy8GyeIVFF3iV" Date: Wed, 06 Jun 2007 17:45:27 +0200 Message-Id: <1181144727.30405.30.camel@pav.hide.vol.cz> Mime-Version: 1.0 X-Mailer: Evolution 2.10.1 FreeBSD GNOME Team Port Cc: Yuri Pankov , freebsd-current@FreeBSD.org Subject: Re: /boot/mbr miscompiled? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pav@FreeBSD.org List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Jun 2007 16:05:30 -0000 --=-i7vltOcKy8GyeIVFF3iV Content-Type: text/plain Content-Transfer-Encoding: quoted-printable > > > > I've noticed lately that I can't install /boot/mbr using boot0cfg. > > > >=20 > > > > [root@darklight:~]# boot0cfg -B -b /boot/mbr ad4 > > > > boot0cfg: /boot/mbr: unknown or incompatible boot code > > > >=20 > > > > -r--r--r-- 1 root wheel - 512 Jun 6 17:45 /boot/mbr > > > > /boot/mbr: x86 boot sector > > > >=20 > > > I think you'll have to use "fdisk -B" to do that. > > > (boot0cfg(8) only installs boot0 and boot0sio.) > > >=20 > >=20 > > Thank you Ruslan. > >=20 > > Shouldn't boot0cfg(8) manpage be updated accordingly (EXAMPLES section, > > at least)? > >=20 > Hmm. The documentation bug was introduced recently in rev. 1.30 > of boot0cfg.8 (and merged into RELENG_6). I've just checked on > 4.x, 6.x, and 7.0 systems here, and /boot/mbr could never be > accepted by boot0cfg(8) because the second signature (the "Drive" > string) isn't there. I've Cc:ed the committer of this change. And then, trust PRs. I wonder how is it possible that PR got submitted, if the example showed in it is totally bogus? Escapes me. So, should I back out that rev.? --=20 Pav Lucistnik The Phase Spider. A spider that never seems quite there. --=-i7vltOcKy8GyeIVFF3iV Content-Type: application/pgp-signature; name=signature.asc Content-Description: Toto je =?UTF-8?Q?digit=C3=A1ln=C4=9B?= =?ISO-8859-1?Q?_podepsan=E1?= =?UTF-8?Q?_=C4=8D=C3=A1st?= =?ISO-8859-1?Q?_zpr=E1vy?= -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQBGZtaTntdYP8FOsoIRAiKvAKC24hcY8AVJqeO52xw/lwzGVfDhKgCeJgar gGj9Nf71D+wl1s9gj93VyMI= =gbFS -----END PGP SIGNATURE----- --=-i7vltOcKy8GyeIVFF3iV--