mount: fix wrong long option namess
authorRoman Borisov <ext-roman.borisov@nokia.com>
Fri, 25 Feb 2011 11:50:39 +0000 (14:50 +0300)
committerDenys Vlasenko <vda.linux@googlemail.com>
Sat, 26 Feb 2011 17:50:55 +0000 (18:50 +0100)
Fixed the --make-shared, --make-rshared, ... etc. (--make-*) options
in the mount command. Now parse_mount_options() may reasonably process such
options.
Fixed: http://lists.busybox.net/pipermail/busybox/2011-January/074511.html

Signed-off-by: Roman Borisov <ext-roman.borisov@nokia.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
util-linux/mount.c

index 0f213bb30e6e952bf200d0c284ca997bfb96582e..bc528505285deba681e90a68d473c6cc461d44c5 100644 (file)
@@ -241,14 +241,14 @@ static const char mount_option_str[] =
                "union\0"
                "bind\0"
                "move\0"
-               "shared\0"
-               "slave\0"
-               "private\0"
-               "unbindable\0"
-               "rshared\0"
-               "rslave\0"
-               "rprivate\0"
-               "runbindable\0"
+               "make-shared\0"
+               "make-slave\0"
+               "make-private\0"
+               "make-unbindable\0"
+               "make-rshared\0"
+               "make-rslave\0"
+               "make-rprivate\0"
+               "make-runbindable\0"
        )
 
        // Always understood.