Bug 192379

Summary: mount_nfs -o vers= compatibility with Linux, Solaris, and OSX
Product: Base System Reporter: Bjoern A. Zeeb <bz>
Component: binAssignee: Bjoern A. Zeeb <bz>
Status: Closed FIXED    
Severity: Affects Some People CC: bz, emaste
Priority: ---    
Version: CURRENT   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Provide -o vers= compatibility for mount_nfs none

Description Bjoern A. Zeeb freebsd_committer freebsd_triage 2014-08-04 12:41:44 UTC
Created attachment 145339 [details]
Provide -o vers= compatibility for mount_nfs

Our mount_nfs does use -o nfsv<2|3|4> or -2 or -3 to specify the version.
OSX (these days), Solaris, and Linux use -o vers=<2,3,4>.

With the upcoming autofs support we can make a lot of (entrerprisy) setups getting mount options from LDAP just work by providing -o vers= compatibility.
Comment 1 Ed Maste freebsd_committer freebsd_triage 2014-08-04 14:55:55 UTC
Patch looks good to me.
Comment 2 commit-hook freebsd_committer freebsd_triage 2014-08-05 12:04:49 UTC
A commit references this bug:

Author: bz
Date: Tue Aug  5 12:04:40 UTC 2014
New revision: 269583
URL: http://svnweb.freebsd.org/changeset/base/269583

Log:
  Provide -o vers= support for mount_nfs.

  Our mount_nfs does use -o nfsv<2|3|4> or -2 or -3 to specify the version.
  OSX (these days), Solaris, and Linux use -o vers=<2,3,4>.

  With the upcoming autofs support we can make a lot of (entrerprisy) setups
  getting mount options from LDAP just work by providing -o vers= compatibility.

  PR:		192379
  Reviewed by:	wblock, bjk (man page), rmacklem, emaste
  MFC after:	3 days
  Sponsored by:	DARPA,AFRL

Changes:
  head/sbin/mount_nfs/mount_nfs.8
  head/sbin/mount_nfs/mount_nfs.c
Comment 3 commit-hook freebsd_committer freebsd_triage 2014-08-16 13:06:27 UTC
A commit references this bug:

Author: bz
Date: Sat Aug 16 13:06:12 UTC 2014
New revision: 270043
URL: http://svnweb.freebsd.org/changeset/base/270043

Log:
  MFC r269583:

   Provide -o vers= support for mount_nfs.

   Our mount_nfs does use -o nfsv<2|3|4> or -2 or -3 to specify the version.
   OSX (these days), Solaris, and Linux use -o vers=<2,3,4>.

   With the upcoming autofs support we can make a lot of (entrerprisy) setups
   getting mount options from LDAP just work by providing -o vers= compatibility.

   Reviewed by:	wblock, bjk (man page), rmacklem, emaste
   Sponsored by:	DARPA,AFRL
  PR:		192379

Changes:
_U  stable/10/
  stable/10/sbin/mount_nfs/mount_nfs.8
  stable/10/sbin/mount_nfs/mount_nfs.c
Comment 4 commit-hook freebsd_committer freebsd_triage 2014-09-13 13:36:55 UTC
A commit references this bug:

Author: bz
Date: Sat Sep 13 13:36:18 UTC 2014
New revision: 271508
URL: http://svnweb.freebsd.org/changeset/base/271508

Log:
  MFC r269583:

     Provide -o vers= support for mount_nfs.

     Our mount_nfs does use -o nfsv<2|3|4> or -2 or -3 to specify the version.
     OSX (these days), Solaris, and Linux use -o vers=<2,3,4>.

     With the upcoming autofs support we can make a lot of (entrerprisy) setups
     getting mount options from LDAP just work by providing -o vers= compatibility.

     Reviewed by:	wblock, bjk (man page), rmacklem, emaste
  Sponsored by:	DARPA,AFRL
  PR:		192379

Changes:
_U  stable/9/sbin/mount_nfs/
  stable/9/sbin/mount_nfs/mount_nfs.8
  stable/9/sbin/mount_nfs/mount_nfs.c