summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorBernd Schubert <bschubert@ddn.com>2023-03-19 22:12:36 +0100
committerNikolaus Rath <Nikolaus@rath.org>2023-03-20 09:00:14 +0000
commit81ad52c7dbed9b0d228e9d028b6f6ab800bd1a68 (patch)
tree7e620f985cceeb2aac7862d255b26f8cfda1f4d8 /util
parent1e66c92153d4300162f3125d06b41de0cc6ae599 (diff)
downloadfuse-81ad52c7dbed9b0d228e9d028b6f6ab800bd1a68.tar.gz
Add more time mount options to fusermount / fix lazytime
Previous patch had forgotten fusermount. And also had "lazyatime" instead of "lazytime".
Diffstat (limited to 'util')
-rw-r--r--util/fusermount.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/util/fusermount.c b/util/fusermount.c
index 50989eb..6e72f0d 100644
--- a/util/fusermount.c
+++ b/util/fusermount.c
@@ -594,6 +594,14 @@ static struct mount_flags mount_flags[] = {
{"sync", MS_SYNCHRONOUS, 1, 1},
{"atime", MS_NOATIME, 0, 1},
{"noatime", MS_NOATIME, 1, 1},
+ {"diratime", MS_NODIRATIME, 0, 1},
+ {"nodiratime", MS_NODIRATIME, 1, 1},
+ {"lazytime", MS_LAZYTIME, 1, 1},
+ {"nolazytime", MS_LAZYTIME, 0, 1},
+ {"relatime", MS_RELATIME, 1, 1},
+ {"norelatime", MS_RELATIME, 0, 1},
+ {"strictatime", MS_STRICTATIME, 1, 1},
+ {"nostrictatime", MS_STRICTATIME, 0, 1},
{"dirsync", MS_DIRSYNC, 1, 1},
{NULL, 0, 0, 0}
};