diff options
author | Roman Borisov <ext-roman.borisov@nokia.com> | 2011-02-25 14:50:39 +0300 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2011-02-26 18:50:55 +0100 |
commit | 945fd173e9888185d68fecfb060fdfff98900ac4 (patch) | |
tree | a10f479868e8683e4f7f052fd5a4694fa3bc685a | |
parent | 3bb235c3b50ca072e8bcfc20d5030f5460439c07 (diff) | |
download | busybox-w32-945fd173e9888185d68fecfb060fdfff98900ac4.tar.gz busybox-w32-945fd173e9888185d68fecfb060fdfff98900ac4.tar.bz2 busybox-w32-945fd173e9888185d68fecfb060fdfff98900ac4.zip |
mount: fix wrong long option namess
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>
-rw-r--r-- | util-linux/mount.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/util-linux/mount.c b/util-linux/mount.c index 0f213bb30..bc5285052 100644 --- a/util-linux/mount.c +++ b/util-linux/mount.c | |||
@@ -241,14 +241,14 @@ static const char mount_option_str[] = | |||
241 | "union\0" | 241 | "union\0" |
242 | "bind\0" | 242 | "bind\0" |
243 | "move\0" | 243 | "move\0" |
244 | "shared\0" | 244 | "make-shared\0" |
245 | "slave\0" | 245 | "make-slave\0" |
246 | "private\0" | 246 | "make-private\0" |
247 | "unbindable\0" | 247 | "make-unbindable\0" |
248 | "rshared\0" | 248 | "make-rshared\0" |
249 | "rslave\0" | 249 | "make-rslave\0" |
250 | "rprivate\0" | 250 | "make-rprivate\0" |
251 | "runbindable\0" | 251 | "make-runbindable\0" |
252 | ) | 252 | ) |
253 | 253 | ||
254 | // Always understood. | 254 | // Always understood. |