diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2023-01-24 06:57:08 +0000 |
---|---|---|
committer | Laurent Bercot <ska@appnovation.com> | 2023-01-24 06:57:08 +0000 |
commit | a7f643c1131cb0f3552bb816def240f93d5b9392 (patch) | |
tree | fdbfa259b14ca5a5989d62df353df9b16d056b58 /src/minutils/s6-mount.c | |
parent | aeddcbc56d9592b544ea3a1a5df4bd2fa372f9c3 (diff) | |
download | s6-linux-utils-a7f643c1131cb0f3552bb816def240f93d5b9392.tar.gz s6-linux-utils-a7f643c1131cb0f3552bb816def240f93d5b9392.tar.xz s6-linux-utils-a7f643c1131cb0f3552bb816def240f93d5b9392.zip |
s6-mount: add support for relatime/norelatime options
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src/minutils/s6-mount.c')
-rw-r--r-- | src/minutils/s6-mount.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 ; } |