1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-17 15:27:36 +00:00

Bring the description of st_[cma]time modification conditions a bit

closer to reality.  More work remains to be done.  st_mtime should
be the most complete based on IEEE Std 1003.1, 2003 Edition, a
review of ufs_vnops.c, and some experimentation.
This commit is contained in:
Diomidis Spinellis 2003-10-20 13:52:22 +00:00
parent 2e7deb2b86
commit aefcc0fcac
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=121279

View File

@ -95,30 +95,42 @@ are as follows:
Time when file data last accessed.
Changed by the
.Xr mknod 2 ,
.Xr utimes 2
and
.Xr utimes 2 ,
.Xr read 2
and
.Xr readv 2
system calls.
.It Va st_mtime
Time when file data last modified.
Changed by the
.Xr mkdir 2 ,
.Xr mkfifo 2 ,
.Xr mknod 2 ,
.Xr utimes 2
and
.Xr utimes 2 ,
.Xr write 2
and
.Xr writev 2
system calls.
.It Va st_ctime
Time when file status was last changed (inode data modification).
Changed by the
.Xr chflags 2 ,
.Xr chmod 2 ,
.Xr chown 2 ,
.Xr creat 2 ,
.Xr link 2 ,
.Xr mkdir 2 ,
.Xr mkfifo 2 ,
.Xr mknod 2 ,
.Xr rename 2 ,
.Xr rmdir 2 ,
.Xr symlink 2 ,
.Xr truncate 2 ,
.Xr unlink 2 ,
.Xr utimes 2
and
.Xr utimes 2 ,
.Xr write 2
and
.Xr writev 2
system calls.
.It Va st_birthtime
Time when the inode was created.