Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Oct 2005 14:08:22 +1000
From:      Peter Jeremy <PeterJeremy@optushome.com.au>
To:        Eric Anderson <anderson@centtech.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: sysctl variable creation
Message-ID:  <20051001040822.GM72352@cirb503493.alcatel.com.au>
In-Reply-To: <433DB377.6080202@centtech.com>
References:  <433DB377.6080202@centtech.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051001040822.GM72352>