From owner-freebsd-current Tue Feb 24 16:12:34 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA12928 for freebsd-current-outgoing; Tue, 24 Feb 1998 16:12:34 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from smtp02.primenet.com (smtp02.primenet.com [206.165.6.132]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA12913 for ; Tue, 24 Feb 1998 16:12:24 -0800 (PST) (envelope-from tlambert@usr01.primenet.com) Received: (from daemon@localhost) by smtp02.primenet.com (8.8.8/8.8.8) id RAA02132; Tue, 24 Feb 1998 17:12:19 -0700 (MST) Received: from usr01.primenet.com(206.165.6.201) via SMTP by smtp02.primenet.com, id smtpd002108; Tue Feb 24 17:12:16 1998 Received: (from tlambert@localhost) by usr01.primenet.com (8.8.5/8.8.5) id RAA25883; Tue, 24 Feb 1998 17:12:14 -0700 (MST) From: Terry Lambert Message-Id: <199802250012.RAA25883@usr01.primenet.com> Subject: Re: broken nfsstat ? To: pb@fasterix.freenix.org (Pierre Beyssac) Date: Wed, 25 Feb 1998 00:12:14 +0000 (GMT) Cc: freebsd-current@FreeBSD.ORG In-Reply-To: <19980224214413.VV05778@@> from "Pierre Beyssac" at Feb 24, 98 09:44:13 pm X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > It looks like there's something weird with nfsstat. Have I done > something wrong? It's a -current from yesterday sources. > > $ nfsstat > nfsstat: sysctl: No such file or directory > $ modstat > Type Id Off Loadaddr Size Info Rev Module Name > VFS 0 2 f50a6000 00d5 f50d8890 1 nfs > $ sysctl -A | grep nfs > $ The sysctl namespace is (partially, badly) autoconfigured via linker set. Linker sets do not agregate from LKM's. This is partly because of the linker interface, and partly because of the fact that FreeBSD is not ELF and partly because of the way inter-ELF linker set agregation requires a registration callback instead of taking the linker set at face value. If you want nfsstat, you need to statically link your NFS at this time, until we leave the a.out dark ages behind and fix the ELF agregation architectural issues that the gcc/gld people have so far failed to address. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message