When mount.nfs reports that statd isn't running, it suggests using the "-o
authorSteve Dickson <steved@redhat.com>
Wed, 16 Jan 2008 16:48:23 +0000 (11:48 -0500)
committerSteve Dickson <steved@redhat.com>
Wed, 16 Jan 2008 16:48:23 +0000 (11:48 -0500)
nolocks" option, which doesn't exist.  It should say "-o nolock".

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
utils/mount/nfsmount.c

index 23dd2f6..3d2ebb1 100644 (file)
@@ -848,7 +848,7 @@ noauth_flavors:
                if (!start_statd()) {
                        nfs_error(_("%s: rpc.statd is not running but is "
                                "required for remote locking.\n"
                if (!start_statd()) {
                        nfs_error(_("%s: rpc.statd is not running but is "
                                "required for remote locking.\n"
-                               "   Either use '-o nolocks' to keep "
+                               "   Either use '-o nolock' to keep "
                                "locks local, or start statd."),
                                        progname);
                        goto fail;
                                "locks local, or start statd."),
                                        progname);
                        goto fail;