Unverified Commit a49066d4 by Christian Brauner Committed by Stéphane Graber

conf: order mount options

parent 94b8d282
...@@ -286,31 +286,31 @@ static instantiate_cb netdev_deconf[LXC_NET_MAXCONFTYPE + 1] = { ...@@ -286,31 +286,31 @@ static instantiate_cb netdev_deconf[LXC_NET_MAXCONFTYPE + 1] = {
}; };
static struct mount_opt mount_opt[] = { static struct mount_opt mount_opt[] = {
{ "async", 1, MS_SYNCHRONOUS },
{ "atime", 1, MS_NOATIME },
{ "bind", 0, MS_BIND },
{ "defaults", 0, 0 }, { "defaults", 0, 0 },
{ "ro", 0, MS_RDONLY },
{ "rw", 1, MS_RDONLY },
{ "suid", 1, MS_NOSUID },
{ "nosuid", 0, MS_NOSUID },
{ "dev", 1, MS_NODEV }, { "dev", 1, MS_NODEV },
{ "nodev", 0, MS_NODEV }, { "diratime", 1, MS_NODIRATIME },
{ "exec", 1, MS_NOEXEC },
{ "noexec", 0, MS_NOEXEC },
{ "sync", 0, MS_SYNCHRONOUS },
{ "async", 1, MS_SYNCHRONOUS },
{ "dirsync", 0, MS_DIRSYNC }, { "dirsync", 0, MS_DIRSYNC },
{ "remount", 0, MS_REMOUNT }, { "exec", 1, MS_NOEXEC },
{ "mand", 0, MS_MANDLOCK }, { "mand", 0, MS_MANDLOCK },
{ "nomand", 1, MS_MANDLOCK },
{ "atime", 1, MS_NOATIME },
{ "noatime", 0, MS_NOATIME }, { "noatime", 0, MS_NOATIME },
{ "diratime", 1, MS_NODIRATIME }, { "nodev", 0, MS_NODEV },
{ "nodiratime", 0, MS_NODIRATIME }, { "nodiratime", 0, MS_NODIRATIME },
{ "bind", 0, MS_BIND }, { "noexec", 0, MS_NOEXEC },
{ "nomand", 1, MS_MANDLOCK },
{ "norelatime", 1, MS_RELATIME },
{ "nostrictatime", 1, MS_STRICTATIME },
{ "nosuid", 0, MS_NOSUID },
{ "rbind", 0, MS_BIND|MS_REC }, { "rbind", 0, MS_BIND|MS_REC },
{ "relatime", 0, MS_RELATIME }, { "relatime", 0, MS_RELATIME },
{ "norelatime", 1, MS_RELATIME }, { "remount", 0, MS_REMOUNT },
{ "ro", 0, MS_RDONLY },
{ "rw", 1, MS_RDONLY },
{ "strictatime", 0, MS_STRICTATIME }, { "strictatime", 0, MS_STRICTATIME },
{ "nostrictatime", 1, MS_STRICTATIME }, { "suid", 1, MS_NOSUID },
{ "sync", 0, MS_SYNCHRONOUS },
{ NULL, 0, 0 }, { NULL, 0, 0 },
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment