← Commit list

19311bfa7

Roman Borisov
Roman Borisov
2011-03-26
FAILED Duration: 265s

Subject

mount: add --rbind option support

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

include/usage.src.h+1 -1
@@ -2482,7 +2482,7 @@ INSERT
"\n [r]slave Convert [recursively] to a slave subtree" \
"\n [r]private Convert [recursively] to a private subtree" \
"\n [un]bindable Make mount point [un]able to be bind mounted" \
- "\n bind Bind a file or directory to another location" \
+ "\n [r]bind Bind a file or directory [recursively] to another location" \
"\n move Relocate an existing mount point" \
) \
"\n remount Remount a mounted filesystem, changing flags" \
util-linux/mount.c+2 -0
@@ -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"