Quantcast
Channel: FedoraForum.org
Viewing all articles
Browse latest Browse all 36122

why does a newly created file have birth time of - in stat command

$
0
0
The stat command is useful for efficiently seeing lots of file metadata in one shot

Example:
Quote:

stat /etc/fstab
File: `/etc/fstab'
Size: 469 Blocks: 8 IO Block: 4096 regular file
Device: 803h/2051d Inode: 18087968 Links: 1
Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root)
Context: system_u:object_r:etc_t:s0
Access: 2012-12-28 03:12:33.496260215 -0500
Modify: 2012-07-22 13:20:30.768864812 -0400
Change: 2012-07-22 13:20:33.957751794 -0400
Birth: -
My question is why is the "birth" always "-" ? I've looked at multiple files and it's always the unknown - value.
The man page says that "-" means the birth time of the file is unknown, but why is the time of creation be unknown?

Viewing all articles
Browse latest Browse all 36122

Trending Articles