>>The old interface is the standard one (although the above code shows how >>inconvenient it is). mountd uses it too. > >There is nothing "less standard" about sysctlbyname to my knowledge...
sysctl() is in Linux (starting in 2.1.x), BSD4.4, NetBSD, OpenBSD, etc. sysctlbyname() is in FreeBSD (starting in 2.2). Some of the Linux sysctl numbers are even binary compatible. However, all Linux filesystem sysctls are incompatible, starting with the top-level identifier being named CTL_FS instead of CTL_VFS. Bruce To Unsubscribe: send mail to majord...@freebsd.org with "unsubscribe freebsd-current" in the body of the message