summaryrefslogtreecommitdiff
path: root/libdiskfs/node-times.c
AgeCommit message (Collapse)Author
1999-09-201999-09-20 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* node-times.c (diskfs_set_node_times): Don't implement _diskfs_noatime here. * conch-fetch.c (iohelp_fetch_shared_data): Don't update dn_set_atime on affected node if _diskfs_noatime. * rdwr-internal.c (_diskfs_rdwr_internal): Likewise.
1999-09-191999-09-19 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* node-times.c (diskfs_set_node_times): If _diskfs_noatime is set and neither NP->dn_set_mtime nor NP->dn_set_ctime is set, clear NP->dn_set_atime. Short-circuit return if none of dn_set_?time set. * opts-common.c (diskfs_common_options): Include "priv.h". Add aliases --ro/--rw for -r/-w. Add alias --nosuid for --no-suid, --noexec for --no-exec. Move --suid-ok, --exec-ok here from ... * opts-std-runtime.c (std_runtime_options): ... here. (struct parse_hook): New member `noatime'. (set_opts): Use H->noatime to set _diskfs_noatime. (parse_opt): Grok -A and OPT_ATIME to set/clear H->noatime. (OPT_ATIME): New macro. (OPT_SUID_OK, OPT_EXEC_OK): Moved to ... * priv.h: ... here. (diskfs_common_options): Add const to decl. * opts-std-startup.c (parse_startup_opt): Grok OPT_SUID_OK, OPT_EXEC_OK, -A, and OPT_ATIME. * init-init.c (_diskfs_noatime): New variable. (_diskfs_nosuid, _diskfs_noexec): Use uninitialized defns. * opts-append-std.c (diskfs_append_std_options): Add --no-atime if _diskfs_noatime is set.
1996-02-20(diskfs_set_node_times): Use maptime_read.Miles Bader
1994-07-18entered into RCSMichael I. Bushnell
1994-07-14Formerly node-times.c.~5~Michael I. Bushnell
1994-02-11Formerly node-times.c.~4~Michael I. Bushnell
1994-02-08Formerly node-times.c.~3~Michael I. Bushnell
1994-02-05Formerly node-times.c.~2~Michael I. Bushnell
1994-02-04Initial revisionMichael I. Bushnell