Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Jan 1996 10:26:22 +0100 (MET)
From:      J Wunsch <j@uriah.heep.sax.de>
To:        freebsd-current@FreeBSD.org (FreeBSD-current users)
Subject:   Re: invalid primary partition table: no magic
Message-ID:  <199601310926.KAA20195@uriah.heep.sax.de>
In-Reply-To: <199601310338.OAA11342@godzilla.zeta.org.au> from "Bruce Evans" at Jan 31, 96 02:38:58 pm

next in thread | previous in thread | raw e-mail | index | archive | help
As Bruce Evans wrote:
> 
> >uriah # vnconfig -c /dev/rvn0 fooimage 
> >uriah # Jan 30 23:51:48 uriah /kernel: vn0: invalid primary partition table: no magic

> For emulating physical disks that don't have partition tables or labels,
> don't use the `-s labels' option to vnconfig.

Well, what about those that are about to get a label the next second?
New vn devices are often created by dd'ing the appropriate amount of
data out of /dev/zero.

And why is it printed in the cited case, with an cd9660 image?  I
haven't used -s labels.

I think it should at least go away for vn devices.  Anybody playing
with vn is expected to know what (s)he's doing.  It's annoying enough
with non-bootable physical disks that are dangerously dedicated, but i
could perhaps live with that.  People in Usenet are often more
confused by this message.  That's why i would like to have it an
option.  Any disk without the magic should simply (and silently,
unless told otherwise) be considered an unsliced disk.

To refine my proposal: use a sysctl-changeable variable, defaulting to
"off" unless bootverbose is in effect.  This way, we could ask the < 5
% people that experience problems in this area to turn on bootverbose.
(All Usenet questions i've seen about this weren't errors, but
referred to the bogus message.)

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199601310926.KAA20195>