Bug 192379 - mount_nfs -o vers= compatibility with Linux, Solaris, and OSX
Summary: mount_nfs -o vers= compatibility with Linux, Solaris, and OSX
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Some People
Assignee: Bjoern A. Zeeb
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-04 12:41 UTC by Bjoern A. Zeeb
Modified: 2014-09-13 13:36 UTC (History)
2 users (show)

See Also:


Attachments
Provide -o vers= compatibility for mount_nfs (2.35 KB, text/plain)
2014-08-04 12:41 UTC, Bjoern A. Zeeb
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bjoern A. Zeeb freebsd_committer 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 2014-08-04 14:55:55 UTC
Patch looks good to me.
Comment 2 commit-hook freebsd_committer 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 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 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