summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2023-02-12 03:26:05 +0000
committerLaurent Bercot <ska@appnovation.com>2023-02-12 03:26:05 +0000
commitf23530966f4dff24d929943dfaa7e9fb8fc70a10 (patch)
tree7a69f9ca2bba85be7a6c5cea336c2cc0026df0e9
parent72b6d428af4925e7064c6166b732301c8918e8c4 (diff)
downloads6-linux-utils-f23530966f4dff24d929943dfaa7e9fb8fc70a10.tar.xz
Fix option order in s6-mount
Signed-off-by: Laurent Bercot <ska@appnovation.com>
-rw-r--r--src/s6-linux-utils/s6-mount.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/s6-linux-utils/s6-mount.c b/src/s6-linux-utils/s6-mount.c
index 58fc2ff..997ef33 100644
--- a/src/s6-linux-utils/s6-mount.c
+++ b/src/s6-linux-utils/s6-mount.c
@@ -53,14 +53,14 @@ static void mount_scanopt (stralloc *data, unsigned long *flags, char const *s)
{ .name = "nodev", .add = MS_NODEV, .del = 0 },
{ .name = "nodiratime", .add = MS_NODIRATIME, .del = 0 },
{ .name = "nodirsync", .add = 0, .del = MS_DIRSYNC },
- { .name = "nolazytime", .add = 0, .del = MS_LAZYTIME },
{ .name = "noexec", .add = MS_NOEXEC, .del = 0 },
+ { .name = "nolazytime", .add = 0, .del = MS_LAZYTIME },
{ .name = "nomandlock", .add = 0, .del = MS_MANDLOCK },
{ .name = "nomove", .add = 0, .del = MS_MOVE },
{ .name = "norelatime", .add = 0, .del = MS_RELATIME },
{ .name = "nostrictatime", .add = 0, .del = MS_STRICTATIME },
- { .name = "nosymfollow", .add = MS_NOSYMFOLLOW, .del = 0 },
{ .name = "nosuid", .add = MS_NOSUID, .del = 0 },
+ { .name = "nosymfollow", .add = MS_NOSYMFOLLOW, .del = 0 },
{ .name = "private", .add = MS_PRIVATE, .del = MS_SHARED | MS_SLAVE | MS_UNBINDABLE },
{ .name = "relatime", .add = MS_RELATIME, .del = 0 },
{ .name = "remount", .add = MS_REMOUNT, .del = 0 },