E2fsck and large file

Christian Kujau lists at nerdbynature.de
Sat Apr 25 07:19:57 UTC 2009


On Fri, 24 Apr 2009, Eric Sandeen wrote:
>> How big is a file that e2fsck considers it to be a large file?
>         if (LINUX_S_ISREG(inode->i_mode) &&
>             (inode->i_size_high || inode->i_size & 0x80000000UL))
>                 ctx->large_files++;
> 2G or greater.

I was tempted to reply the same, but:

# mkfs.ext4 -q /dev/md0 
# fsck.ext4 -fv /dev/md0 
e2fsck 1.41.5 (23-Apr-2009)
[...]
      11 inodes used (0.00%)
       0 non-contiguous files (0.0%)
       0 non-contiguous directories (0.0%)
         # of inodes with ind/dind/tind blocks: 0/0/0
         Extent depth histogram: 1
   33640 blocks used (3.45%)
       0 bad blocks
       1 large file   <--- so, there's at least one file (inode?) 
                           considered a large file right from the
                           beginning?

C.
-- 
A vigenere cipher with the Key "BRUCESCHNEIER" is in fact unbreakable.




More information about the Ext3-users mailing list