[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[PATCH initramfs-tools] initramfs-tools(8): Fix documentation of nfsroot



NFSOPTS is separated by a "," and not a ":" as documented.

Also make it clear that not all options from nfs(5) may be supported.
For instance, "nfsvers=" is not supported by nfsmount and causes the
initrd to loop forever.

Signed-off-by: Baptiste Jonglez <baptiste.jonglez@imag.fr>
---
 initramfs-tools.8 | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/initramfs-tools.8 b/initramfs-tools.8
index 0eee050..223e934 100644
--- a/initramfs-tools.8
+++ b/initramfs-tools.8
@@ -44,9 +44,12 @@ set the file system mount option string.
 .TP
 \fB\fI nfsroot
 can be either "auto" to try to get the relevant information from DHCP or a
-string of the form NFSSERVER:NFSPATH or NFSSERVER:NFSPATH:NFSOPTS.
-Use root=/dev/nfs for NFS to kick to in. NFSOPTS can be looked up in
-\fInfs(5)\fP.
+string of the form NFSSERVER:NFSPATH or NFSSERVER:NFSPATH,NFSOPTS.
+Use root=/dev/nfs for NFS to kick to in. NFSOPTS is a comma-separated list
+of options. Available options can be looked up in
+\fInfs(5)\fP
+but some of the options documented there may not be supported by
+\fInfsmount\fP.
 
 .TP
 \fB\fI ip
-- 
2.11.0


Reply to: