diff options
-rw-r--r-- | include/usage.src.h | 2 | ||||
-rw-r--r-- | util-linux/mount.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/include/usage.src.h b/include/usage.src.h index 29f7b2110..d07b408a6 100644 --- a/include/usage.src.h +++ b/include/usage.src.h | |||
@@ -2482,7 +2482,7 @@ INSERT | |||
2482 | "\n [r]slave Convert [recursively] to a slave subtree" \ | 2482 | "\n [r]slave Convert [recursively] to a slave subtree" \ |
2483 | "\n [r]private Convert [recursively] to a private subtree" \ | 2483 | "\n [r]private Convert [recursively] to a private subtree" \ |
2484 | "\n [un]bindable Make mount point [un]able to be bind mounted" \ | 2484 | "\n [un]bindable Make mount point [un]able to be bind mounted" \ |
2485 | "\n bind Bind a file or directory to another location" \ | 2485 | "\n [r]bind Bind a file or directory [recursively] to another location" \ |
2486 | "\n move Relocate an existing mount point" \ | 2486 | "\n move Relocate an existing mount point" \ |
2487 | ) \ | 2487 | ) \ |
2488 | "\n remount Remount a mounted filesystem, changing flags" \ | 2488 | "\n remount Remount a mounted filesystem, changing flags" \ |
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" |