From owner-freebsd-current Sun Feb 21 5:14:44 1999 Delivered-To: freebsd-current@freebsd.org Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.26.10.9]) by hub.freebsd.org (Postfix) with ESMTP id 09E5611C05; Sun, 21 Feb 1999 05:14:37 -0800 (PST) (envelope-from bde@godzilla.zeta.org.au) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.7/8.8.7) id AAA08457; Mon, 22 Feb 1999 00:14:35 +1100 Date: Mon, 22 Feb 1999 00:14:35 +1100 From: Bruce Evans Message-Id: <199902211314.AAA08457@godzilla.zeta.org.au> To: bde@zeta.org.au, phk@critter.freebsd.dk Subject: Re: Problems with nfsstat and dynamic OID Cc: current@FreeBSD.ORG, dfr@FreeBSD.ORG, dfr@nlsystems.com, romanp@wuppy.rcs.ru Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >>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 majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message