Subject: kern/21408: "sd0: no disk label" messages are stupid and annoying
To: None <email@example.com>
From: None <firstname.lastname@example.org>
Date: 04/30/2003 11:03:30
>Synopsis: "sd0: no disk label" messages are stupid and annoying
>Arrival-Date: Wed Apr 30 18:04:00 UTC 2003
>Originator: Jason R Thorpe
>Release: NetBSD 1.6P
Wasabi Systems, Inc.
System: NetBSD yeah-baby.shagadelic.org 1.6P NetBSD 1.6P (YEAH-BABY-XP) #13: Thu Mar 6 12:04:28 PST 2003 email@example.com:/u1/netbsd/src/sys/arch/i386/compile/YEAH-BABY-XP i386
The messages informing whoever is sitting at the console that
a device has no disklabel are extremely annoying.
1. It is common for vnd devices to not have disklabels (checking
the contents of a makefs(1)'d file system image, for instance).
Repeated opening of a vnd device thus fills the message buffer
with "vnd0: no disk label" messages. This is very irritating.
2. The case where you have an "ataraid" type device where an
"ld" instance is buit from "wd" instances; the underlying
"wd" devices will not have disk labels, and we get to see
this fact annoyingly spewed all over the console (once
for each component) when we mount the root file system.
makefs(1) a file system image. Create and mount a vnd with
the image. See the message. Become greatly annoyed at how
obnixious the message is.
Lack of a disk label should not be considered an error. All
readdisklabel() routines in machine-dependent code will need
to be adjusted for this.