Date: Sun, 29 Nov 1998 23:57:02 +0100 (CET) From: "R. Luettgen" <a0074@netcologne.de> To: Bruce Evans <bde@zeta.org.au> Cc: freebsd-current@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG Subject: Re: Correction of nfsstat in 3.0 Message-ID: <XFMail.981129235948.a0074@netcologne.de> In-Reply-To: <199811281644.DAA25934@godzilla.zeta.org.au>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi Bruce. Thank you for your information. I made this changes in my code and nfsstat runs. If VFS_GENERIC is the wrong one, what's the right one. I also see thet xsysinfo is not able to schow NFS activities. Is this based on t he same problems? Ralf On 28 -Nov-98 Bruce Evans wrote: >>I've a 3.0 RELEASE on my box and it works well. Today I want use nfsstat but >I g >>ot an error message. Here is the patch I make in nfsstat.c . >> >> >>172c172 >>< name[1] = vfc.vfc_typenum; >>--- >>> name[1] = VFS_GENERIC; > >vfc_typenum was broken in some (old, almost as old as 3.0) versions of the >kernel. VFS_GENERIC isn't correct here. It only works if nfs's vfc_typenum >happens to be VFS_GENERIC (= 0). This should never happen for current >kernels, because the type numbers start at 1. > >Bruce ---------------------------------- E-Mail: R. Luettgen <a0074@netcologne.de> Date: 29-Nov-98 Time: 23:57:02 This message was sent by XF-Mail ---------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.981129235948.a0074>