File creation times
Posted Jul 29, 2010 17:10 UTC (Thu) by
docwhat (subscriber, #40373)
In reply to:
File creation times by Mog
Parent article:
File creation times
I had to try it for myself...
$ mkdir -p /tmp/tmp.e0EkZhvZQR
$ touch /tmp/tmp.e0EkZhvZQR/somefile
$ stat /tmp/tmp.e0EkZhvZQR/somefile
File: `/tmp/tmp.e0EkZhvZQR/somefile'
Size: 0 Blocks: 0 IO Block: 4096 regular empty file
Device: 801h/2049d Inode: 2760536 Links: 1
Access: (0644/-rw-r--r--) Uid: ( 1000/ holtje) Gid: ( 1000/ holtje)
Access: 2010-07-29 13:09:14.990815140 -0400
Modify: 2010-07-29 13:09:14.990815140 -0400
Change: 2010-07-29 13:09:14.990815140 -0400
$ touch -m -d 2110-01-01 /tmp/tmp.e0EkZhvZQR/somefile
$ stat /tmp/tmp.e0EkZhvZQR/somefile
File: `/tmp/tmp.e0EkZhvZQR/somefile'
Size: 0 Blocks: 0 IO Block: 4096 regular empty file
Device: 801h/2049d Inode: 2760536 Links: 1
Access: (0644/-rw-r--r--) Uid: ( 1000/ holtje) Gid: ( 1000/ holtje)
Access: 2010-07-29 13:09:14.990815140 -0400
Modify: 2110-01-01 00:00:00.000000000 -0500
Change: 2010-07-29 13:09:14.990815140 -0400
Yup!
(
Log in to post comments)