>> >I fixed this a while back to use sysctlbyname, as it should have been >> >done. Bruce subsequently backed it out (bad idea, IMO). >> >> You only worked around the previous breakage of vfs sysctls for the >> statically configured case. The dynamically configured case was more >> fundamentally broken (sysctls were not wired at all). Other applications >> that use vfs sysctls, e.g., mountd(8), remained broken in all cases. > >Even then, only NFS' sysctls were 'fixed' to use vfc_typenum as their oid >numbers. Other filesystems with sysctls such as ufs were still 'broken'.
Except there weren't any such filesystems at the time. Now that ffs's reallocblks is enabled, there are vfs.ffs.doreallocblks and vfs.ffs.doasyncfree, but these weren't and aren't a problem because ffs can't be an LKM er KLD, and there is no need to access them at the library level. Bruce To Unsubscribe: send mail to majord...@freebsd.org with "unsubscribe freebsd-current" in the body of the message