Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Feb 1999 20:31:46 +1100
From:      Bruce Evans <bde@zeta.org.au>
To:        bde@zeta.org.au, dfr@nlsystems.com
Cc:        current@freebsd.org, mike@smith.net.au, romanp@wuppy.rcs.ru
Subject:   Re: Problems with nfsstat and dynamic OID
Message-ID:  <199902230931.UAA05470@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>> >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 majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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