Date: 13 Mar 1997 10:50:22 +0000 From: Doug Rabson <dfr@render.com> To: "Jordan K. Hubbard" <jkh@time.cdrom.com> Cc: Klaus Werner Krygier <krygier@kph.uni-mainz.de>, questions@freebsd.org Subject: Re: NFSV3 - NFS on FreeBSD 2.2 Message-ID: <seendk6p75.fsf@minnow.render.com> In-Reply-To: "Jordan K. Hubbard"'s message of Wed, 12 Mar 1997 07:53:30 -0800 References: <1418.858182010@time.cdrom.com>
next in thread | previous in thread | raw e-mail | index | archive | help
"Jordan K. Hubbard" <jkh@time.cdrom.com> writes: > > > How can I manage this? At the moment I have to specify at the client > > side the apropriate mount options to use NFS V2. Is it also possible > > to disable NFS V3 globally on the FreeBSD server? > > Ah, I see - yes, how to force FreeBSD be an NFS V2 *server* is what > you're asking (sorry, it's early in the morning for me here :). > > Hmmmmmm.... That's a good question. :-) > > There appear to be flags for turning the NFS server off entirely > (NFS_NOSERVER) but none for specifically disabling NFS v3. Any ideas, > Doug? I've poked around in nfssvc() a little and don't see any > obvious way... Without testing, it seems to me that you could simply hack mountd.c and remove the two calls to svc_register which register the v3 mountd protocol. If the mountd refuses to talk the v3 protocol, then the client at the other end will fall back to v2 (which uses the v1 mountd protocol to be confusing). -- Doug Rabson, Microsoft RenderMorphics Ltd. Mail: dfr@render.com Phone: +44 171 734 3761 These are not the opinions of Microsoft. FAX: +44 171 734 6426
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?seendk6p75.fsf>