From owner-cvs-all Wed Sep 30 06:31:50 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA01542 for cvs-all-outgoing; Wed, 30 Sep 1998 06:31:50 -0700 (PDT) (envelope-from owner-cvs-all) Received: from ifi.uio.no (ifi.uio.no [129.240.64.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA01511; Wed, 30 Sep 1998 06:31:26 -0700 (PDT) (envelope-from dag-erli@ifi.uio.no) Received: from grjottunagard.ifi.uio.no (2602@grjottunagard.ifi.uio.no [129.240.64.131]) by ifi.uio.no (8.8.8/8.8.7/ifi0.2) with ESMTP id PAA23023; Wed, 30 Sep 1998 15:31:02 +0200 (MET DST) Received: (from dag-erli@localhost) by grjottunagard.ifi.uio.no ; Wed, 30 Sep 1998 15:31:02 +0200 (MET DST) Mime-Version: 1.0 To: Peter Wemm Cc: Kenneth Merry , cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/sys/cam/scsi scsi_all.c scsi_all.h References: <199809301320.VAA12170@spinner.netplex.com.au> Organization: University of Oslo, Department of Informatics X-url: http://www.stud.ifi.uio.no/~dag-erli/ X-other-addresses: 'finger dag-erli@ifi.uio.no' for a list X-disclaimer-1: The views expressed in this article are mine alone, and do X-disclaimer-2: not necessarily coincide with those of any organisation or X-disclaimer-3: company with which I am or have been affiliated. X-Stop-Spam: http://www.cauce.org/ From: dag-erli@ifi.uio.no (Dag-Erling C. =?iso-8859-1?Q?Sm=F8rgrav?= ) Date: 30 Sep 1998 15:31:01 +0200 In-Reply-To: Peter Wemm's message of "Wed, 30 Sep 1998 21:20:36 +0800" Message-ID: Lines: 24 X-Mailer: Gnus v5.6.44/Emacs 20.3 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by hub.freebsd.org id GAB01525 Sender: owner-cvs-all@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Peter Wemm writes: > Dag-Erling C. =?iso-8859-1?Q?Sm=F8rgrav?= wrote: > > Could the bootverbose flag be made accessible through sysctl? This way > > you could boot verbose to get detailed probe messages, and switch it > > off later to avoid "unintersting" messages such as "tagged openings" > > etc. I'm willing to do the deed if somebody more clueful than me okays > > it and reviews the patch... > Perhaps it should be a second variable, eg: scsi_verbose.. and a > corresponding sysctl hw.scsi_verbose (or hw.scsi.verbose if there is > potential for more hw.scsi.* variables). No, I used the "tagged openings" stuff just as an example. I don't think it's a good idea to separate scsiverbose from bootverbose. Let's just call it kern.verbose... > At the moment this would pretty much have the same effect, but the prospect > of twiddling bootverbose itself on the fly at runtime sends a chill down my > spine.. Why? The only thing it affects is a printf or two AFAIK. DES -- Dag-Erling Smørgrav - dag-erli@ifi.uio.no