sysctl variable creation

Peter Jeremy PeterJeremy at optushome.com.au
Fri Sep 30 21:08:32 PDT 2005


On Fri, 2005-Sep-30 16:51:51 -0500, Eric Anderson wrote:
>I'm hacking up sys/ufs/ufs/ufs_vnops.c, and I've added a sysctl entry, 
>but it doesn't appear via sysctl -a -c vfs.ufs.  Here's what I've done:

The code looks correct but I can't find a '-c' option to sysctl in
4.x, 5.x or 7.x.  Note that SYSCTL_STRUCT defines an opaque type that
won't be displayed by default.  You may want "sysctl -x vfs.ufs"

-- 
Peter Jeremy


More information about the freebsd-hackers mailing list