Subject: kern/21408: "sd0: no disk label" messages are stupid and annoying
To: None <>
From: None <>
List: netbsd-bugs
Date: 04/30/2003 11:03:30
>Number:         21408
>Category:       kern
>Synopsis:       "sd0: no disk label" messages are stupid and annoying
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Apr 30 18:04:00 UTC 2003
>Originator:     Jason R Thorpe
>Release:        NetBSD 1.6P
Wasabi Systems, Inc.
System: NetBSD 1.6P NetBSD 1.6P (YEAH-BABY-XP) #13: Thu Mar 6 12:04:28 PST 2003 i386
Architecture: i386
Machine: 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.