Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Mar 1997 03:44:01 -0800 (PST)
From:      kumano@strl.nhk.or.jp
To:        freebsd-gnats-submit@freebsd.org
Subject:   bin/2930: lack of NFS V3 support in amd(8)
Message-ID:  <199703101144.DAA13866@freefall.freebsd.org>
Resent-Message-ID: <199703101150.DAA14280@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199703101144.DAA13866>