Subject: Re: dynamic sysctl
To: David Laight <>
From: Pavel Cahyna <>
List: tech-kern
Date: 11/19/2003 16:40:36
On Tue, 18 Nov 2003 15:44:58 +0100, David Laight wrote:

> Well you are adding a system call to convert names to numbers, why not
> add 'sysctl by name' instead?

Sometimes, the name of a sysctl node is actually a numerical index. E.g under 
proc there are nodes with PIDs as names. Ints are more natural than strings 
for that purpose. You could name them by the number represented as decimal
value, but this is IMHO ugly.

Bye	Pavel