Date: Wed, 25 Feb 1998 00:12:14 +0000 (GMT) From: Terry Lambert <tlambert@primenet.com> To: pb@fasterix.freenix.org (Pierre Beyssac) Cc: freebsd-current@FreeBSD.ORG Subject: Re: broken nfsstat ? Message-ID: <199802250012.RAA25883@usr01.primenet.com> In-Reply-To: <19980224214413.VV05778@@> from "Pierre Beyssac" at Feb 24, 98 09:44:13 pm
next in thread | previous in thread | raw e-mail | index | archive | help
> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199802250012.RAA25883>