diff options
author | Roman Borisov <ext-roman.borisov@nokia.com> | 2011-03-24 15:08:43 +0300 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2011-03-26 23:12:12 +0100 |
commit | 19311bfa7b8e8c6effa9c375de9b0eb4338bee12 (patch) | |
tree | 9a06cc9213b84a155457f46183069c7de26174c5 /util-linux | |
parent | d3679d2491fa85e98db3bf397d5330ddcb9fc98a (diff) | |
download | busybox-w32-19311bfa7b8e8c6effa9c375de9b0eb4338bee12.tar.gz busybox-w32-19311bfa7b8e8c6effa9c375de9b0eb4338bee12.tar.bz2 busybox-w32-19311bfa7b8e8c6effa9c375de9b0eb4338bee12.zip |
mount: add --rbind option support
Signed-off-by: Roman Borisov <ext-roman.borisov@nokia.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'util-linux')
-rw-r--r-- | util-linux/mount.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/util-linux/mount.c b/util-linux/mount.c index e672a73f4..722d0be92 100644 --- a/util-linux/mount.c +++ b/util-linux/mount.c | |||
@@ -181,6 +181,7 @@ static const int32_t mount_options[] = { | |||
181 | /* "relatime" */ MS_RELATIME, | 181 | /* "relatime" */ MS_RELATIME, |
182 | /* "norelatime" */ ~MS_RELATIME, | 182 | /* "norelatime" */ ~MS_RELATIME, |
183 | /* "loud" */ ~MS_SILENT, | 183 | /* "loud" */ ~MS_SILENT, |
184 | /* "rbind" */ MS_BIND|MS_RECURSIVE, | ||
184 | 185 | ||
185 | // action flags | 186 | // action flags |
186 | /* "union" */ MS_UNION, | 187 | /* "union" */ MS_UNION, |
@@ -236,6 +237,7 @@ static const char mount_option_str[] = | |||
236 | "relatime\0" | 237 | "relatime\0" |
237 | "norelatime\0" | 238 | "norelatime\0" |
238 | "loud\0" | 239 | "loud\0" |
240 | "rbind\0" | ||
239 | 241 | ||
240 | // action flags | 242 | // action flags |
241 | "union\0" | 243 | "union\0" |