Re: birth time of a file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 25 Sep 2014 at 09:08, Andreas Dilger wrote:
> It looks like your filesystem is formatted with 128-byte inodes
> (i.e. ext3) instead of 256-byte inodes (i.e. ext4). The i_crtime is stored
> in this extended space of the inode.  You could verify this with

Bingo! Thanks, that was the problem. I used a small (less than 512MB) test 
filesystem and inode size was indeed 128 byte. When I ran mkfs.ext4 on a 
512 MB (and larger) device, 256 byte inodes were created and then crtime 
was indeed visible with debugfs. Or I could have used -I to force larger 
inodes.

Thanks for the hint!
Christian. 

>    dumpe2fs -h /dev/loop0
> 
> and look for the "Inode size" field. 
> 
> This is a format time option. What is strange is that you have specified mkfs.ext4, so
> this should be selected automatically. It may be that with very small 
> devices (e.g. floppy size) it defaults to 128-byte inodes. 

-- 
BOFH excuse #124:

user to computer ration too low.
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux