Kamil Rytarowski wrote:

> Is there any good reason that fstat(1) needs kvm(3)? Is it viable to
> offer its functionality with sysctl(3), in particular in struct kinfo_file?

The only reason that fstat wasn't converted to use sysctl way back when
was time/motivation.  I couldn't think of a simple extensible way of
dealing with N file systems and adding N different sysctls meant that it
never got done.

Go for it :)  Good luck.

Cheers,
Simon.

Reply via email to