From a7f643c1131cb0f3552bb816def240f93d5b9392 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Tue, 24 Jan 2023 06:57:08 +0000 Subject: s6-mount: add support for relatime/norelatime options Signed-off-by: Laurent Bercot --- src/minutils/s6-mount.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/minutils/s6-mount.c b/src/minutils/s6-mount.c index 06064e4..428bda4 100644 --- a/src/minutils/s6-mount.c +++ b/src/minutils/s6-mount.c @@ -44,6 +44,8 @@ static void scanopt (stralloc *data, unsigned long *flags, char const *opt) CASE("diratime") { *flags &= ~MS_NODIRATIME ; break ; } CASE("strictatime") { *flags |= MS_STRICTATIME ; break ; } CASE("nostrictatime") { *flags &= ~MS_STRICTATIME ; break ; } + CASE("relatime") { *flags |= MS_RELATIME ; break ; } + CASE("norelatime") { *flags &= ~MS_RELATIME ; break ; } CASE("bind") { *flags |= MS_BIND ; break ; } CASE("nobind") { *flags &= ~MS_BIND ; break ; } CASE("move") { *flags |= MS_MOVE ; break ; } -- cgit v1.2.3