1
From: Ben Hutchings <ben@decadent.org.uk>
2
Subject: [PATCH] nfs.man: Fix macro use for fstab examples
4
The groff macros for filling (word-wrapping) and tabulation control are
5
lower-case, but are written in upper-case here and so have been ignored.
7
Change the .NF and .FI lines to lower-case.
9
Change the .TA lines to lower-case and fix the tab stops to work both
10
on a terminal and in Postscript output.
12
Delete the .SP line where .sp would be redundant.
14
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
16
--- a/utils/mount/nfs.man
17
+++ b/utils/mount/nfs.man
19
The fifth and sixth fields on each line are not used
20
by NFS, thus conventionally each contain the digit zero. For example:
24
-.TA 2.5i +0.75i +0.75i +1.0i
26
+.ta 8n +14n +14n +9n +20n
27
server:path /mountpoint fstype option,option,... 0 0
31
The server's hostname and export pathname
32
are separated by a colon, while
34
file causes the mount command to negotiate
35
reasonable defaults for NFS behavior.
38
-.TA 2.5i +0.7i +0.7i +.7i
40
+.ta 8n +16n +6n +6n +30n
41
server:/export /mnt nfs defaults 0 0
45
Here is an example from an /etc/fstab file for an NFS version 2 mount over UDP.
48
-.TA 2.5i +0.7i +0.7i +.7i
50
+.ta 8n +16n +6n +6n +30n
51
server:/export /mnt nfs nfsvers=2,proto=udp 0 0
55
Try this example to mount using NFS version 4 over TCP
56
with Kerberos 5 mutual authentication.
59
-.TA 2.5i +0.7i +0.7i +.7i
61
+.ta 8n +16n +6n +6n +30n
62
server:/export /mnt nfs4 sec=krb5 0 0
66
This example can be used to mount /usr over NFS.
69
-.TA 2.5i +0.7i +0.7i +.7i
71
+.ta 8n +16n +6n +6n +30n
72
server:/export /usr nfs ro,nolock,nocto,actimeo=3600 0 0
76
This example shows how to mount an NFS server
77
using a raw IPv6 link-local address.
80
-.TA 2.5i +0.7i +0.7i +.7i
82
+.ta 8n +40n +5n +4n +9n
83
[fe80::215:c5ff:fb3e:e2b1%eth0]:/export /mnt nfs defaults 0 0
86
.SH "TRANSPORT METHODS"
87
NFS clients send requests to NFS servers via
88
Remote Procedure Calls, or