From owner-freebsd-bugs Mon Mar 10 03:50:07 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id DAA14287 for bugs-outgoing; Mon, 10 Mar 1997 03:50:07 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id DAA14280; Mon, 10 Mar 1997 03:50:03 -0800 (PST) Resent-Date: Mon, 10 Mar 1997 03:50:03 -0800 (PST) Resent-Message-Id: <199703101150.DAA14280@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, Received:(from nobody@localhost) by.freefall.freebsd.org.id.DAA13866;Mon; (8.8.5/8.8.5);, 10 Mar 1997 03:44:01.-0800 (PST) Message-Id: <199703101144.DAA13866@freefall.freebsd.org> Date: Mon, 10 Mar 1997 03:44:01 -0800 (PST) From: kumano@strl.nhk.or.jp To: freebsd-gnats-submit@freebsd.org X-Send-Pr-Version: www-1.0 Subject: bin/2930: lack of NFS V3 support in amd(8) Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 2930 >Category: bin >Synopsis: lack of NFS V3 support in amd(8) >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Mar 10 03:50:02 PST 1997 >Last-Modified: >Originator: KUMANO, Tadashi >Organization: NHK Science and Technical Research Laboratories >Release: FreeBSD 2.2-970216-GAMMA i386 >Environment: FreeBSD g4ppro 2.2-970216-GAMMA FreeBSD 2.2-970216-GAMMA #0: Mon Feb 17 09:15:56 JST 1997 kumano@g4ppro:/usr/src/sys/compile/GFOURPPRO i386 >Description: Though NFS V3 mount has supported in mount_nfs(8), there is no way to specify this operation in amd(8) configuration files. >How-To-Repeat: >Fix: Apply this patch, then mount option `nfsv3' is available in configuration file. *** /usr/src/usr.sbin/amd/amd/nfs_ops.c~ Tue Jun 27 20:07:24 1995 --- /usr/src/usr.sbin/amd/amd/nfs_ops.c Mon Feb 17 19:05:36 1997 *************** *** 642,647 **** --- 642,651 ---- nfs_args.sotype = SOCK_STREAM; #endif /* HAS_TCP_NFS */ + #ifdef NFSMNT_NFSV3 + if (hasmntopt(&mnt, "nfsv3") != NULL) + nfs_args.flags |= NFSMNT_NFSV3; + #endif /* NFSMNT_NFSV3 */ #ifdef ULTRIX_HACK /* >Audit-Trail: >Unformatted: