summary refs log tree commit diff
path: root/gnu/system/file-systems.scm
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2023-02-26 01:00:00 +0100
committerTobias Geerinckx-Rice <me@tobias.gr>2023-02-26 01:00:07 +0100
commit4ef9a5dd5ec07d2cf4326b65d44a9227d184a56e (patch)
tree878d904cc3f0de7c55a425de57bb608560f3395c /gnu/system/file-systems.scm
parent997b93cc4a6deff54ebd854a716cca94095114bf (diff)
downloadguix-4ef9a5dd5ec07d2cf4326b65d44a9227d184a56e.tar.gz
file-systems: Validate 'no-diratime flag.
This follows up on commit c0773455397746b10194bc14c7cef144f4095b65, and
adds a comment to avoid this in future.

* gnu/system/file-systems.scm (invalid-file-system-flags):
Add 'no-diratime to the list of KNOWN-FLAGS.
Diffstat (limited to 'gnu/system/file-systems.scm')
-rw-r--r--gnu/system/file-systems.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/system/file-systems.scm b/gnu/system/file-systems.scm
index f2eb2e0837..85b00a4a09 100644
--- a/gnu/system/file-systems.scm
+++ b/gnu/system/file-systems.scm
@@ -122,7 +122,7 @@
     ;; Note: Keep in sync with 'mount-flags->bit-mask'.
     (let ((known-flags '(read-only
                          bind-mount no-suid no-dev no-exec
-                         no-atime strict-atime lazy-time
+                         no-atime no-diratime strict-atime lazy-time
                          shared)))
       (lambda (flags)
         "Return the subset of FLAGS that is invalid."