Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Oct 1998 16:43:22 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        ken@plutotech.com, phk@critter.freebsd.dk
Cc:        cvs-all@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, ken@FreeBSD.ORG
Subject:   Re: cvs commit: src/sys/cam/scsi scsi_sa.c src/sys/conf options src/sys/i386/conf LINT
Message-ID:  <199810020643.QAA28394@godzilla.zeta.org.au>

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



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