file time question?
hello!
please ask how to get about "ctime, atime, mtime" three time Details at linux system. |
how to get about "ctime, atime, mtime"?
how to get about "ctime, atime, mtime"? how to get about "ctime, atime, mtime"? |
[root@u1 ~]# stat test
File: `test' Size: 4096 Blocks: 16 IO Block: 4096 directory Device: 303h/771d Inode: 223378 Links: 2 Access: (0755/drwxr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2008-05-31 04:58:11.000000000 +0800 Modify: 2008-05-31 04:58:11.000000000 +0800 Change: 2008-05-31 04:58:11.000000000 +0800 access: atime modify: mtime change: ctime how to get about this three time Details |
"Three fields in the inode structure contain the last access, change, and modification times: atime, ctime, and mtime. The atime field is updated each time the pointer to the file's data blocks is followed and the file's data is read. The mtime field is updated each time the file's data changes. The ctime field is updated each time the file's inode changes. The ctime is not creation time; there is no way under standard Unix to find a file's creation time."
HTH |
Where such information can be found
|
This looks like homework...
seven; What does this say to you?: Quote:
|
As per Pixellany, its in google. That quote is actually from my Perl Cookbook. Its a common misconception about ctime.
|
All times are GMT -5. The time now is 10:48 PM. |