When inode change time changes?

Nikos Vassiliadis nvass at teledomenet.gr
Tue Jun 19 15:27:29 UTC 2007


On Sunday 17 June 2007 00:24, Artem Kuchin wrote:
> Maybe someone can englighten me when
> inode change time changes? What must be done
> with file to change it (except writing to it)?

stat(2) would be very enlightening in this context.

> I tried chmoding - it does not affect inode time.

chmod works for me:
nik:1:~$ stat -f "%c" /tmp/test 
1182266005
nik:1:~$ chmod -rw /tmp/test 
nik:1:~$ stat -f "%c" /tmp/test 
1182266014

How do check the timestamps?
Do you use stat(1) or something else?

Nikos


More information about the freebsd-stable mailing list