/boot/mbr miscompiled?
Pav Lucistnik
pav at FreeBSD.org
Wed Jun 6 16:05:30 UTC 2007
> > > > I've noticed lately that I can't install /boot/mbr using boot0cfg.
> > > >
> > > > [root at darklight:~]# boot0cfg -B -b /boot/mbr ad4
> > > > boot0cfg: /boot/mbr: unknown or incompatible boot code
> > > >
> > > > -r--r--r-- 1 root wheel - 512 Jun 6 17:45 /boot/mbr
> > > > /boot/mbr: x86 boot sector
> > > >
> > > I think you'll have to use "fdisk -B" to do that.
> > > (boot0cfg(8) only installs boot0 and boot0sio.)
> > >
> >
> > Thank you Ruslan.
> >
> > Shouldn't boot0cfg(8) manpage be updated accordingly (EXAMPLES section,
> > at least)?
> >
> 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.?
--
Pav Lucistnik <pav at oook.cz>
<pav at FreeBSD.org>
The Phase Spider. A spider that never seems quite there.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: 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?=
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20070606/91cd36bd/attachment.pgp
More information about the freebsd-current
mailing list