Red Hat Bugzilla – Bug 10859
NFS option "nolock" in mount(8) man page, but not nfs(5) man page
Last modified: 2008-05-01 11:37:55 EDT
The NFS option "nolock" is mentioned in the mount (8) man page as:
nolock Do not use locking. Do not start lockd.
However, the man page also tells you to see the man page for nfs (5) for
detailed information on mount options for nfs file systems, but the nfs (5)
man page makes no mention of the nolock option.
Also, it should be mentioned in the documentation that this option is
required for mounting old-style (RH 5.2 or older) NFS servers, as well as
other NFS servers that don't support lockd. Otherwise, all attempts at
locking on these filesystems will result in -EACCES from fcntl.
This will result in various failure modes, such as WindowMaker refusing to
load your preferences if your home directory is mounted via NFS, and
subsequently overwriting your preferences with the system wide defaults.
This is probably not what you'd want in this case.
Kindly update the documentation to save other people the pain of having to
figure this out themselves.