{ 0, 0, 0, 0 }
};
+#ifndef MS_REC
+# define MS_REC 0x4000
+#endif
+
static struct FstabOptions {
char const * const opt;
unsigned long const or_flag;
unsigned long const and_flag;
bool const is_dflt;
} const FSTAB_OPTIONS[] = {
+ { "rbind", MS_BIND|MS_REC, ~0, false },
{ "bind", MS_BIND, ~0, false },
{ "move", MS_MOVE, ~0, false },
#if 0
}
}
- if (mnt->flags&MS_BIND) {
+ if (mnt->flags & (MS_BIND|MS_MOVE)) {
if (mount(mnt->src, ".",
mnt->type ? mnt->type : "",
mnt->flags, mnt->data)==-1) {