X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=utils%2Fexportfs%2Fnfsd.man;h=47b73be09c8e114b35464ad4d595d6eb24b76a98;hp=b4806b44e62dc377b9c1ac8230f82d3ea799abc7;hb=014e00dfaea0efc92150e2aedc5ca43aa337545e;hpb=928c5db128be787cb6819f075a45730a7b73c8ea diff --git a/utils/exportfs/nfsd.man b/utils/exportfs/nfsd.man index b4806b4..47b73be 100644 --- a/utils/exportfs/nfsd.man +++ b/utils/exportfs/nfsd.man @@ -8,11 +8,11 @@ .SH NAME nfsd \- special filesystem for controlling Linux NFS server .SH SYNPOSIS -.B "mount -t nfsd nfsd /proc/fs/nfs" +.B "mount -t nfsd nfsd /proc/fs/nfsd" .SH DESCRIPTION The .B nfsd -filessytem is a special filesystem which provides access to the Linux +filesystem is a special filesystem which provides access to the Linux NFS server. The filesystem consists of a single directory which contains a number of files. These files are actually gateways into the NFS server. Writing to them can affect the server. Reading from @@ -25,7 +25,7 @@ up to 2.6). This man page does not apply to 2.4 and earlier. As well as this filesystem, there are a collection of files in the .B procfs filesystem (normally mounted at -.BE /proc ) +.BR /proc ) which are used to control the NFS server. This manual page describes all of these files. .P @@ -35,6 +35,8 @@ and .I mountd programs (part of the nfs-utils package) expect to find this filesystem mounted at +.B /proc/fs/nfsd +or .BR /proc/fs/nfs . If it is not mounted, they will fall-back on 2.4 style functionality. This involves accessing the NFS server via a systemcall. This @@ -84,7 +86,7 @@ should be followed by a newline, with white-space separating the fields, and octal quoting of special characters. On writing this, the program will be able to read back a filehandle -for that path as exported to the given client. The filehandles length +for that path as exported to the given client. The filehandle's length will be at most the number of bytes given. The filehandle will be represented in hex with a leading '\ex'. @@ -163,7 +165,7 @@ file. The user-space program might then write .ti +5 nfsd 127.0.0.1 1057206953 localhost .br -to indicate that 127.0.0.1 should map to localhost, atleast for now. +to indicate that 127.0.0.1 should map to localhost, at least for now. If the program uses select(2) or poll(2) to discover if it can read from the