Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Mar 1997 11:58:37 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        charnier@xp11.frmug.org, current@FreeBSD.org
Subject:   Re: verbosity added with Lite2 merge.
Message-ID:  <199703310158.LAA22825@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>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



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