Date: Fri, 23 Nov 2001 06:01:52 +1300 From: Joerg Micheel <joerg@cs.waikato.ac.nz> To: Harti Brandt <brandt@fokus.gmd.de> Cc: Mike Meyer <mwm@mired.org>, freebsd-hackers@freebsd.org Subject: Re: sysctls for hardware monitoring? Message-ID: <20011123060152.B8944@cs.waikato.ac.nz> In-Reply-To: <20011122174502.R401-100000@beagle.fokus.gmd.de>; from brandt@fokus.gmd.de on Thu, Nov 22, 2001 at 05:51:10PM %2B0100 References: <20011123054328.A8944@cs.waikato.ac.nz> <20011122174502.R401-100000@beagle.fokus.gmd.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Nov 22, 2001 at 05:51:10PM +0100, Harti Brandt wrote: > Taking a Linux driver to argue against > something doesn't really make sense. There is so many crap in the Linux > kernel, that you can argue against anything: "The crappy unix domain > sockets don't work in Linux. Oh yeah, they are a bad idea anyway..." Delete the offending word Linux from my statement and replace it with "I am maintaining a driver which has /proc support on a freeware UNIX platform." Doesn't change a thing. There are floating point numbers, hex integers, strings and a lot of other misc stuff in there. If you want to work with those numbers, you need to write a parser with scanf() in the best case, yacc/lex in the worst. That really sucks! I have a program that needs the Pentium clock frequency in order to introduce nanoseconds of delay. No sysctl! I need to open and read /proc/cpuinfo. Meaning, the kernel has to do lots more stuff and the user program, too. I can't consider that an advantage. I love *BSD pragmatics. It's closer to the real world. Joerg -- Joerg B. Micheel Email: <joerg@cs.waikato.ac.nz> WAND and NLANR MOAT Email: <joerg@nlanr.net> The University of Waikato, CompScience Phone: +64 7 8384794 Private Bag 3105 Fax: +64 7 8585095 Hamilton, New Zealand Plan: PMA, TINE and the DAG's To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011123060152.B8944>