* SUMMARY: Inode vs file modification dates
@ 1996-10-01 11:49 LAURA GRABINSKI
0 siblings, 0 replies; only message in thread
From: LAURA GRABINSKI @ 1996-10-01 11:49 UTC (permalink / raw)
To: tru64-unix-managers
Thank you to
<alan@nabeth.cxo.dec.com>
lesc@icr.hcnet.usp.br
Eric Bennett <bennett@hpel.cees.edu>
Pirie Hart <pirie@u.washington.edu>
ajackson@iii.com (Anthony Jackson)
Charlie Joyner <cwj@nfuel.com>
Michael Matthews <matthewm@sgate.com>
Hans Ranke <Hans.Ranke@Regent.E-Technik.TU-Muenchen.DE>
Paul A Sand <pas@unh.edu>
Bob Sloane <SLOANE@KUHUB.CC.UKANS.EDU>
Summary:
Think of the inode as the file pointer. The inode contains all the
information about the file (# of links, owner, mode, permissions,
dates, ...). Things can change that which have little or nothing to
do with the data in the file.
From the manual entry for stat(2),
st_atime
The time when file data was last accessed. This is changed by
the system calls mknod(2), utimes(2), and read(2). For
efficiency, st_atime is not set when a directory is searched.
st_mtime
The time when data was last modified. It is not set by changes
of owner, group, link count, or mode. It is changed by the
system calls mknod(2), utimes(2), and write(2).
st_ctime
The time when file status was last changed. It is set by writing
and changing the i-node. It can be changed by the following
system calls: chmod(2), chown(2), link(2), mknod(2), unlink(2),
utimes(2), and write(2).
Thus, changing file permissions or file owner or links to the file
can cause your dates to differ.
------------------------------
Laura Grabinski, Network Administrator
Aquinas College, 1607 Robinson RD SE, Grand Rapids MI 49506 USA
grabilau@aquinas.edu, 616-459-8281, http://www.aquinas.edu
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1996-10-01 11:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-10-01 11:49 SUMMARY: Inode vs file modification dates LAURA GRABINSKI
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox