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-27 01:12:12 +0300 |
commit | 19311bfa7b8e8c6effa9c375de9b0eb4338bee12 (patch) | |
tree | 9a06cc9213b84a155457f46183069c7de26174c5 /util-linux/mount.c | |
parent | d3679d2491fa85e98db3bf397d5330ddcb9fc98a (diff) |
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/mount.c')
-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[] = { /* "relatime" */ MS_RELATIME, /* "norelatime" */ ~MS_RELATIME, /* "loud" */ ~MS_SILENT, + /* "rbind" */ MS_BIND|MS_RECURSIVE, // action flags /* "union" */ MS_UNION, @@ -236,6 +237,7 @@ static const char mount_option_str[] = "relatime\0" "norelatime\0" "loud\0" + "rbind\0" // action flags "union\0" |