2006-12-14 12:42:01 +00:00
|
|
|
--- util-linux-2.13-pre7/mount/mount.8.man-nfs4 2006-03-06 00:04:37.000000000 +0100
|
|
|
|
+++ util-linux-2.13-pre7/mount/mount.8 2006-12-14 00:30:33.000000000 +0100
|
|
|
|
@@ -385,6 +385,7 @@
|
2006-09-20 14:26:00 +00:00
|
|
|
.IR msdos ,
|
|
|
|
.IR ncpfs ,
|
|
|
|
.IR nfs ,
|
|
|
|
+.IR nfs4 ,
|
|
|
|
.IR ntfs ,
|
|
|
|
.IR proc ,
|
|
|
|
.IR qnx4 ,
|
2006-12-14 12:42:01 +00:00
|
|
|
@@ -422,7 +423,7 @@
|
2006-09-20 14:26:00 +00:00
|
|
|
program has to do is issue a simple
|
|
|
|
.IR mount (2)
|
|
|
|
system call, and no detailed knowledge of the filesystem type is required.
|
2006-12-14 12:42:01 +00:00
|
|
|
-For a few types however (like nfs, cifs, smbfs, ncpfs) ad hoc code is
|
|
|
|
+For a few types however (like nfs, nfs4, cifs, smbfs, ncpfs) ad hoc code is
|
|
|
|
necessary. The nfs ad hoc code is built in, but cifs, smbfs, and ncpfs
|
2006-09-20 14:26:00 +00:00
|
|
|
have a separate mount program. In order to make it possible to
|
|
|
|
treat all types in a uniform way, mount will execute the program
|
2006-12-14 12:42:01 +00:00
|
|
|
@@ -450,9 +451,10 @@
|
2006-09-20 14:26:00 +00:00
|
|
|
All of the filesystem types listed there will be tried,
|
|
|
|
except for those that are labeled "nodev" (e.g.,
|
|
|
|
.IR devpts ,
|
|
|
|
-.I proc
|
|
|
|
+.IR proc ,
|
|
|
|
+.IR nfs ,
|
|
|
|
and
|
|
|
|
-.IR nfs ).
|
|
|
|
+.IR nfs4 ).
|
|
|
|
If
|
|
|
|
.I /etc/filesystems
|
|
|
|
ends in a line with a single * only, mount will read
|
2006-12-14 12:42:01 +00:00
|
|
|
@@ -1368,6 +1370,73 @@
|
2006-09-20 14:26:00 +00:00
|
|
|
.B nolock
|
|
|
|
Do not use locking. Do not start lockd.
|
|
|
|
|
|
|
|
+.SH "Mount options for nfs4"
|
|
|
|
+Instead of a textual option string, parsed by the kernel, the
|
|
|
|
+.I nfs4
|
|
|
|
+file system expects a binary argument of type
|
|
|
|
+.IR "struct nfs4_mount_data" .
|
|
|
|
+The program
|
|
|
|
+.B mount
|
|
|
|
+itself parses the following options of the form `tag=value',
|
|
|
|
+and puts them in the structure mentioned:
|
|
|
|
+.BI rsize= n,
|
|
|
|
+.BI wsize= n,
|
|
|
|
+.BI timeo= n,
|
|
|
|
+.BI retrans= n,
|
|
|
|
+.BI acregmin= n,
|
|
|
|
+.BI acregmax= n,
|
|
|
|
+.BI acdirmin= n,
|
|
|
|
+.BI acdirmax= n,
|
|
|
|
+.BI actimeo= n,
|
|
|
|
+.BI retry= n,
|
|
|
|
+.BI port= n,
|
|
|
|
+.BI proto= n,
|
|
|
|
+.BI clientaddr= n,
|
|
|
|
+.BI sec= n.
|
|
|
|
+The option
|
|
|
|
+.BI addr= n
|
|
|
|
+is accepted but ignored.
|
|
|
|
+Also the following Boolean options, possibly preceded by
|
|
|
|
+.B no
|
|
|
|
+are recognized:
|
|
|
|
+.BR bg ,
|
|
|
|
+.BR fg ,
|
|
|
|
+.BR soft ,
|
|
|
|
+.BR hard ,
|
|
|
|
+.BR intr ,
|
|
|
|
+.BR cto ,
|
|
|
|
+.BR ac ,
|
|
|
|
+For details, see
|
|
|
|
+.BR nfs (5).
|
|
|
|
+
|
|
|
|
+Especially useful options include
|
|
|
|
+.TP
|
|
|
|
+.B rsize=32768,wsize=32768
|
|
|
|
+This will make your NFS connection faster than with the default
|
|
|
|
+buffer size of 4096.
|
|
|
|
+.TP
|
|
|
|
+.B hard
|
|
|
|
+The program accessing a file on a NFS mounted file system will hang
|
|
|
|
+when the server crashes. The process cannot be interrupted or
|
|
|
|
+killed unless you also specify
|
|
|
|
+.BR intr .
|
|
|
|
+When the NFS server is back online the program will continue undisturbed
|
|
|
|
+from where it was. This is probably what you want.
|
|
|
|
+.TP
|
|
|
|
+.B soft
|
|
|
|
+This option allows the kernel to time out if the NFS server is not
|
|
|
|
+responding for some time. The time can be
|
|
|
|
+specified with
|
|
|
|
+.BR timeo=time .
|
|
|
|
+This timeout value is expressed in tenths of a second.
|
|
|
|
+The
|
|
|
|
+.BR soft
|
|
|
|
+option might be useful if your NFS server sometimes doesn't respond
|
|
|
|
+or will be rebooted while some process tries to get a file from the server.
|
|
|
|
+Avoid using this option with
|
|
|
|
+.BR proto=udp
|
|
|
|
+or with a short timeout.
|
|
|
|
+
|
|
|
|
.SH "Mount options for ntfs"
|
|
|
|
.TP
|
|
|
|
.BI iocharset= name
|