]> git.decadent.org.uk Git - nfs-utils.git/commitdiff
mount.nfs.man: Update distinction between mount.nfs and mount.nfs4 (Closes: #575503)
authorBen Hutchings <ben@decadent.org.uk>
Sat, 2 Oct 2010 19:06:13 +0000 (20:06 +0100)
committerBen Hutchings <ben@decadent.org.uk>
Sat, 2 Oct 2010 19:06:13 +0000 (20:06 +0100)
debian/changelog
debian/patches/16-mount-nfs-man-update-distinction-mount.nfs-mount.nfs4.patch [new file with mode: 0644]
debian/patches/series

index 96c367c32495a238cf2219a4dfcd6f2d06f3c2a4..1ee6ea6b9503f384ba040dbfc61b7d59c3cb698f 100644 (file)
@@ -1,3 +1,10 @@
+nfs-utils (1:1.2.2-5) UNRELEASED; urgency=low
+
+  * mount.nfs.man: Update distinction between mount.nfs and mount.nfs4
+    (Closes: #575503)
+
+ -- Ben Hutchings <ben@decadent.org.uk>  Sat, 02 Oct 2010 20:05:53 +0100
+
 nfs-utils (1:1.2.2-4) unstable; urgency=low
 
   * mountd: fix path comparison for v4 crossmnt (Closes: #578317)
diff --git a/debian/patches/16-mount-nfs-man-update-distinction-mount.nfs-mount.nfs4.patch b/debian/patches/16-mount-nfs-man-update-distinction-mount.nfs-mount.nfs4.patch
new file mode 100644 (file)
index 0000000..d180c98
--- /dev/null
@@ -0,0 +1,32 @@
+From: Ben Hutchings <ben@decadent.org.uk>
+Subject: [PATCH] mount.nfs.man: Update distinction between mount.nfs and mount.nfs4
+
+This addresses Debian bug #575503.
+
+--- nfs-utils.orig/utils/mount/mount.nfs.man
++++ nfs-utils/utils/mount/mount.nfs.man
+@@ -15,16 +15,20 @@
+ .BR mount (8)
+ command for mounting NFS shares. This subcommand, however, can also be used as a standalone command with limited functionality.
+-.BR mount.nfs4 
+-is used for mounting NFSv4 file system, while 
+-.BR mount.nfs 
+-is used to mount NFS file systems versions 3 or 2.
+ .I remotetarget 
+ is a server share usually in the form of 
+ .BR servername:/path/to/share.
+ .I dir 
+ is the directory on which the file system is to be mounted.
++Under Linux 2.6.32 and later kernel versions,
++.BR mount.nfs
++can mount all NFS file system versions.  Under earlier Linux kernel versions,
++.BR mount.nfs4
++must be used for mounting NFSv4 file systems while
++.BR mount.nfs
++must be used for NFSv3 and v2.
++
+ .SH OPTIONS
+ .TP
+ .BI "\-r"
index 95912c3f59ea7546621b134ba4d29533bbb8f3da..0dd0792a8288f79f2cae134d9ff77fc729082fa4 100644 (file)
@@ -7,3 +7,4 @@
 13-preserve-explicit-port-2049.patch
 14-allow-address-without-name.patch
 15-mountd-fix-path-comparison-for-v4-crossmnt.patch
+16-mount-nfs-man-update-distinction-mount.nfs-mount.nfs4.patch