lkml.org 
[lkml]   [2000]   [Jan]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: /proc guidelines and sysctl


On Thu, 6 Jan 2000, Alexander Viro wrote:
> > functions that can be used to add a block of /proc names. However, it
> > has other downsides (allocating silly numbers etc - there should be no
> > need for that, considering that the /proc namespace is alreayd a
> > perfectly good namespace).
>
> Oh, please! All we need is sysctlbyname(2) - _not_ a problem, and closes
> all problems with numbers. And it should not work through mounted procfs -
> we can traverse the tree doing comparisons by name just fine. The fact
> that sysctl(8) needs mounted procfs is an artificial misfeature, nothing
> more.

I'll accept a patch that turns sysctl into a proc-only thing.

The current problem is that sysclt tries to be more than proc, and has its
own name-space etc. Not worth it.

Linus


-
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:55    [W:2.539 / U:0.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site