Followup to:  <[EMAIL PROTECTED]>
By author:    Chris Friesen <[EMAIL PROTECTED]>
In newsgroup: linux.dev.kernel
>
> I'm doing some kernel work that will export tuneables to userspace.  In 
> 2.4 I would have used /proc/sys/kernel, but now there is /sys, which was 
> supposed to be for system information.
> 
> However, a bit of poking around in /sys didn't reveal any obvious place 
> to put it.  Is current practice to still put this sort of thing in /proc?
> 

/proc/sys/kernel, using the sysctl internals, yes.

Note that the use of the sysctl(2) system call is highly deprecated,
but the /proc/sys filesystem tree is not; the reason is that the
numeric API used by the former is unstable.

        -hpa
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to