From owner-cvs-all Thu Oct 1 23:43:47 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA09352 for cvs-all-outgoing; Thu, 1 Oct 1998 23:43:47 -0700 (PDT) (envelope-from owner-cvs-all) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.15.68.22]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA09345; Thu, 1 Oct 1998 23:43:41 -0700 (PDT) (envelope-from bde@godzilla.zeta.org.au) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.7/8.8.7) id QAA28394; Fri, 2 Oct 1998 16:43:22 +1000 Date: Fri, 2 Oct 1998 16:43:22 +1000 From: Bruce Evans Message-Id: <199810020643.QAA28394@godzilla.zeta.org.au> To: ken@plutotech.com, phk@critter.freebsd.dk Subject: Re: cvs commit: src/sys/cam/scsi scsi_sa.c src/sys/conf options src/sys/i386/conf LINT Cc: cvs-all@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, ken@FreeBSD.ORG Sender: owner-cvs-all@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >[ kernel config options for timeouts in the tape driver ] > >Poul-Henning Kamp wrote... >> >> This should have been sysctl options! >> >> There is NO reason why you should have to recompile your kernel for >> something this trivial. These should have been ioctls. sysctls are unsuitable for almost everything to do with devices. In particular, they are difficult to use for multiple devices, and their settings can only be changed by root. >I'd say there's no reason you should have to run a script to set the >timeouts every time you boot. :) > >How about this -- make them sysctl variables and kernel options, like the >CD changer timeouts in the CAM CD driver. So, you can tweak the timeouts >while the system is running, and then once you've got them the way you want >them, you can put them in your kernel config file. This gives maximal ifdefs and bloat. Bruce