tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: sysctl node names (Re: CVS commit: src/sys/uvm)

On Fri, Feb 19, 2010 at 06:42:03AM -0500, der Mouse wrote:
 > I'd say it's a question of whether you think of them as input to the
 > kernel, commands ("enable this"), or as output from the kernel,
 > reporting state ("this is enabled").
 > Of course, in most cases, they're actually both, so that doesn't help
 > much.  But, as a native anglophone, it's what the difference between
 > "enable" and "enabled" here feels like to me.

Well, the sysctl tree is a presentation of the state. Changing it is a
command. So I think it should be "enabled".

We could also avoid this problem by using "on" instead, but that's
probably not a great idea.

David A. Holland

Home | Main Index | Thread Index | Old Index