lkml.org 
[lkml]   [1999]   [Sep]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectWhy no sysctl (Was: Re: /proc/cpuinfo verbiage ...)
Date
From


>Whenever this comes up though people say cpuinfo is for human eyes
>only, it should not be parsed. But when someone suggests making a syscall
>for it, everyone decries that idea too.
>

I have always wanted to ask this question, and this seems like an
appropriate thread.

Coming from a Free/OpenBSD background, I have always really liked
the sysctl MIB. The sysctl command line too allows values to be manipulated
and read easily (much easier than parsing the /proc entries).

Why does Linux deprecate that use? Why has is opted for a /proc
interface?

I do wish that BSD would implement a /sysctl or something interface for
browsing, but then again, that is what 'sysctl -a | grep' is for :)

-jason


-
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/

\
 
 \ /
  Last update: 2005-03-22 13:53    [W:0.086 / U:1.908 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site