Date: Mon, 15 Nov 1999 10:28:52 +0200 From: Mark Murray <mark@grondar.za> To: Bruce Evans <bde@zeta.org.au> Cc: Peter Wemm <peter@netplex.com.au>, Garrett Wollman <wollman@khavrinen.lcs.mit.edu>, Kazutaka YOKOTA <yokota@FreeBSD.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/dev/syscons scmouse.c src/sys/i386/conf options.i386 src/sys/alpha/conf options.alpha Message-ID: <199911150828.KAA32612@gratis.grondar.za>
next in thread | raw e-mail | index | archive | help
> > I would think a sysctl option would be better still as that's easily > > changed at runtime.. > > This should be an ioctl. Yukk! "ioctls are the garbage cans of system calls" - Kirk McKusick > sysctl(8) and sysctlbyname(3) are not suitable for device control since > the interface that makes them easy to use for one-off things makes them > hard to use for arrays of things. In order to use an ioctl, you need to write nasty looking code, and in cases like this, that ends up being horrors like rndcontrol(8). One of the nice things about UNIX is its extremely general-purpose tools, and these one-off ioctl-drivers break that. M -- Mark Murray Join the anti-SPAM movement: http://www.cauce.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199911150828.KAA32612>