]> git.decadent.org.uk Git - nfs-utils.git/blobdiff - utils/mount/mount.c
Added in relatime mount option so mount.nfs stays
[nfs-utils.git] / utils / mount / mount.c
index ea47cb48e4e17e3bebf0d44983efc77c127a92d4..403d6f43adeb4c0cd9b899ff3f35be32986c0a8c 100644 (file)
@@ -129,6 +129,12 @@ static const struct opt_map opt_map[] = {
 #ifdef MS_NODIRATIME
   { "diratime", 0, 1, MS_NODIRATIME },  /* Update dir access times */
   { "nodiratime", 0, 0, MS_NODIRATIME },/* Do not update dir access times */
 #ifdef MS_NODIRATIME
   { "diratime", 0, 1, MS_NODIRATIME },  /* Update dir access times */
   { "nodiratime", 0, 0, MS_NODIRATIME },/* Do not update dir access times */
+#endif
+#ifdef MS_RELATIME
+  { "relatime", 0, 0, MS_RELATIME },   /* Update access times relative to
+                      mtime/ctime */
+  { "norelatime", 0, 1, MS_RELATIME }, /* Update access time without regard
+                      to mtime/ctime */
 #endif
   { NULL,      0, 0, 0         }
 };
 #endif
   { NULL,      0, 0, 0         }
 };