David Greenman wrote:
>
> Generally we've been moving towards using sysctl for reading kernel data.
> procfs/kernfs is usually the wrong tool for the job in most cases (my
> subjective opinion of course).
And afterwards, if someone really wants it, you could reimplement
procfs using sysctl, taking advantage of the fine-grained access that
has already been implemented.
Not that procfs gains you anything over sysctl, except some sort of
compability with Linux.
--
"Where am I, and what am I doing in this handbasket?"
Wes Peters Softweyr LLC
http://www.softweyr.com/~softweyr [email protected]
To Unsubscribe: send mail to [email protected]
with "unsubscribe freebsd-hackers" in the body of the message