~adam-stokes/ubuntu/quantal/nfs-utils/hang-on-kernel-expire-794112

« back to all changes in this revision

Viewing changes to debian/patches/20-nfs.man-Fix-fstab-example.patch

  • Committer: Steve Langasek
  • Date: 2011-10-29 21:56:45 UTC
  • mfrom: (14.1.15 sid)
  • Revision ID: steve.langasek@canonical.com-20111029215645-ohwji14mw3tamz84
Merge Debian version 1:1.2.5-2

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
From: Ben Hutchings <ben@decadent.org.uk>
2
 
Subject: [PATCH] nfs.man: Fix macro use for fstab examples
3
 
 
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.
6
 
 
7
 
Change the .NF and .FI lines to lower-case.
8
 
 
9
 
Change the .TA lines to lower-case and fix the tab stops to work both
10
 
on a terminal and in Postscript output.
11
 
 
12
 
Delete the .SP line where .sp would be redundant.
13
 
 
14
 
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
15
 
 
16
 
--- a/utils/mount/nfs.man
17
 
+++ b/utils/mount/nfs.man
18
 
@@ -46,11 +46,10 @@
19
 
 The fifth and sixth fields on each line are not used
20
 
 by NFS, thus conventionally each contain the digit zero. For example:
21
 
 .P
22
 
-.SP
23
 
-.NF
24
 
-.TA 2.5i +0.75i +0.75i +1.0i
25
 
+.nf
26
 
+.ta 8n +14n +14n +9n +20n
27
 
        server:path     /mountpoint     fstype  option,option,...       0 0
28
 
-.FI
29
 
+.fi
30
 
 .P
31
 
 The server's hostname and export pathname
32
 
 are separated by a colon, while
33
 
@@ -857,40 +856,40 @@
34
 
 file causes the mount command to negotiate
35
 
 reasonable defaults for NFS behavior.
36
 
 .P
37
 
-.NF
38
 
-.TA 2.5i +0.7i +0.7i +.7i
39
 
+.nf
40
 
+.ta 8n +16n +6n +6n +30n
41
 
        server:/export  /mnt    nfs     defaults        0 0
42
 
-.FI
43
 
+.fi
44
 
 .P
45
 
 Here is an example from an /etc/fstab file for an NFS version 2 mount over UDP.
46
 
 .P
47
 
-.NF
48
 
-.TA 2.5i +0.7i +0.7i +.7i
49
 
+.nf
50
 
+.ta 8n +16n +6n +6n +30n
51
 
        server:/export  /mnt    nfs     nfsvers=2,proto=udp     0 0
52
 
-.FI
53
 
+.fi
54
 
 .P
55
 
 Try this example to mount using NFS version 4 over TCP
56
 
 with Kerberos 5 mutual authentication.
57
 
 .P
58
 
-.NF
59
 
-.TA 2.5i +0.7i +0.7i +.7i
60
 
+.nf
61
 
+.ta 8n +16n +6n +6n +30n
62
 
        server:/export  /mnt    nfs4    sec=krb5        0 0
63
 
-.FI
64
 
+.fi
65
 
 .P
66
 
 This example can be used to mount /usr over NFS.
67
 
 .P
68
 
-.NF
69
 
-.TA 2.5i +0.7i +0.7i +.7i
70
 
+.nf
71
 
+.ta 8n +16n +6n +6n +30n
72
 
        server:/export  /usr    nfs     ro,nolock,nocto,actimeo=3600    0 0
73
 
-.FI
74
 
+.fi
75
 
 .P
76
 
 This example shows how to mount an NFS server
77
 
 using a raw IPv6 link-local address.
78
 
 .P
79
 
-.NF
80
 
-.TA 2.5i +0.7i +0.7i +.7i
81
 
+.nf
82
 
+.ta 8n +40n +5n +4n +9n
83
 
        [fe80::215:c5ff:fb3e:e2b1%eth0]:/export /mnt    nfs     defaults        0 0
84
 
-.FI
85
 
+.fi
86
 
 .SH "TRANSPORT METHODS"
87
 
 NFS clients send requests to NFS servers via
88
 
 Remote Procedure Calls, or