Re: sysctl variable creation

2005-09-30 Thread Eric Anderson
Peter Jeremy wrote: 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,

Re: sysctl variable creation

2005-09-30 Thread Peter Jeremy
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 variable creation

2005-09-30 Thread Eric Anderson
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: --- ufs_vnops.c-origThu Sep 29 20:47:50 2005 +++ ufs_vnops.c Fri Sep 30 13:44:55 2005 @@ -79,6 +79,7 @@ #include #include #include +#include