Re: REQUEST for /proc/cpuinfo copies & a baby bugbear :o(

Brandon S. Allbery KF8NH (allbery@kf8nh.apk.net)
Mon, 21 Sep 1998 22:04:02 -0300


In message <Pine.LNX.4.04.9809212140320.196-100000@tahallah.demon.co.uk>,
Alex
Buell writes:
+-----
| Yeah. Since someone has told me it is possible to retrieve the information
| by making syscalls to the kernel, I think this is the safest and most
| compatible way to go. Anyone care to give me clues or resources where I
| can read up on? I really don't want to depend on the /proc/cpuinfo file
| really.
+--->8

I thought the whole point of /proc was to provide an easy-to-use interface
to kernel-resident information... and gratuitously per-systype /proc stuff
smacks of the SVR4 /proc implementation (although not quite as bad because
it's still text).

-- 
brandon s. allbery	[os/2][linux][solaris][japh]	 allbery@kf8nh.apk.net
system administrator	     [WAY too many hats]	   allbery@ece.cmu.edu
electrical and computer engineering					 KF8NH
carnegie mellon university

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/