>Hello! Five minutes ago I type 'nfsstat' and got: > >nfsstat: sysctl: No such file or directory > >I take a look at the source and that's what I found: >Nfsstat gets statistic via sysctl(3). name[0]=CTL_VFS, name[2]=NFS_NFSSTATS, >but name[1] has a value of vfc.vfc_typenum, returned by getvfsbyname(3). >And it is very bad, 'cause vfc_typenum contains fs type number assigned >by kernel, not sysctl OID! As we can see in nfs_vfsops.c NFS sysctl node >declared with OID_AUTO (on my system it becomes 119, not 4 as returned by >getvfsbyname).
Now that it is possible to change the sysctl tree at runtime, the changes are not actually (completely) made for vfs sysctls. Special code for making "impossible" changes for vfs sysctls went away. Bruce To Unsubscribe: send mail to majord...@freebsd.org with "unsubscribe freebsd-current" in the body of the message