From owner-freebsd-current Sun Mar 30 18:01:56 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id SAA04898 for current-outgoing; Sun, 30 Mar 1997 18:01:56 -0800 (PST) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id SAA04890 for ; Sun, 30 Mar 1997 18:01:52 -0800 (PST) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.5/8.6.9) id LAA22825; Mon, 31 Mar 1997 11:58:37 +1000 Date: Mon, 31 Mar 1997 11:58:37 +1000 From: Bruce Evans Message-Id: <199703310158.LAA22825@godzilla.zeta.org.au> To: charnier@xp11.frmug.org, current@FreeBSD.org Subject: Re: verbosity added with Lite2 merge. Sender: owner-current@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk >When booting, I get: > >real memory = 33554432 (32768K bytes) >avail memory = 30388224 (29676K bytes) >bdevsw_add_generic: adding D_DISK flag for device 7 <---- >... >(printed by kern/kern_conf.c, line 199) > >Shouldn't this be printed when verbose boot is on, not by default? Or It's a debugging flag, and shouldn't be printed at all ... >it is because of a bug in mcd that is not recognized as a D_DISK at a >glance where it should? ... after broken non-SCSI cdrom drivers like mcd are fixed :-). These drivers are missing a D_DISK in their bdevsw. It's probably an error for any devices with a bdevsw to be missing a D_XXX classifier. The following drivers in isa seem to be broken: matcd, mcd, scd, wcd, wt (has B_TAPE, should have D_TAPE). The D_DISK flag only makes a difference if securelevel > 0. Things involving security of disks don't work unless the kernel can tell which drivers drive disks. Bruce