Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm using Fedora-16 with ext4.Suddenly with stat command I can see something called "Birth".

# stat history_file1.txt 
  File: `history_file1.txt'
  Size: 8944            Blocks: 24         IO Block: 4096   regular file
Device: 802h/2050d      Inode: 4192        Links: 1
Access: (0600/-rw-------)  Uid: (    0/    root)   Gid: (    0/    root)
Context: unconfined_u:object_r:admin_home_t:s0
Access: 2012-01-18 18:11:10.799900150 +0530
Modify: 2012-01-18 18:11:10.867908793 +0530
Change: 2012-01-18 18:11:10.867908793 +0530
 Birth: -

search man page show instances of birth

%w Time of file birth, human-readable; - if unknown

%W Time of file birth, seconds since Epoch; 0 if unknown

Is this newly added field? where this field is stored with respect to inode ?

share|improve this question
add comment

1 Answer 1

up vote 4 down vote accepted

This is the "birth" time of a specific file - the moment when it was created on the file system. This attribute is new to ext4 and is also known as crtime or btime, just google it. :)

Here you can find a discussion regarding the stat command and the specific output you're seeing.

share|improve this answer
    
thanks for the link.I'll check them out. :D –  lakshmipathi Jan 22 '12 at 5:39
1  
Cygwin's stat(1) also has this field, since Windows' NTFS stores the file's creation time. –  Adam Rosenfield Aug 1 '12 at 21:34
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.