I keep forgetting the “subtle” differences between access,modify and change attributes of an inode. I will try to take some note here for you and me. My file test.txt has got the text “abc” in it which is 3 bytes + 1 new line = 4 bytes and I pasted inode information below via stat command.
1 2 3 4 5 6 7 8 |
$ stat test.txt File: `test.txt' Size: 4 Blocks: 8 IO Block: 4096 regular file Device: fd1ch/64796d Inode: 1114186 Links: 1 Access: (0644/-rw-r--r--) Uid: ( 333/genc) Gid: ( 333/genc) Access: 2012-05-08 14:46:11.000000000 +0200 Modify: 2012-05-08 14:46:11.000000000 +0200 Change: 2012-05-08 14:46:11.000000000 +0200 |