X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=utils%2Fmount%2Fmount.c;h=403d6f43adeb4c0cd9b899ff3f35be32986c0a8c;hp=ea47cb48e4e17e3bebf0d44983efc77c127a92d4;hb=b5651e42cedc2b91aba87ea30520884d7f43b36f;hpb=2d77e3a27b7b211f303fcc3a813a044838dad970 diff --git a/utils/mount/mount.c b/utils/mount/mount.c index ea47cb4..403d6f4 100644 --- a/utils/mount/mount.c +++ b/utils/mount/mount.c @@ -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 */ +#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 } };