Re: fsfuzzer: exabyte file sizes

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

 



On 2011-11-22, at 3:10 AM, Dan Carpenter wrote:
> I'm messing with fsfuzzer and it created a filesystem with a huge
> exabyte file which is larger than ext4 supports.
> 
> root@elgon:/tmp# mount -o loop ext4_exabyte_file.img mnt/
> root@elgon:/tmp# ls -l mnt/
> ls: cannot access mnt/config.h: Input/output error
> ls: cannot access mnt/configure: Input/output error
> -rw-r--r--     1 root root 9583660007044417438 Nov 21 18:03 config.h.in

I don't know that there is much to be done with this at the ext4 level.
Of course e2fsck should fix this, but that isn't what is being tested here.
I think the best that can be expected of ext4 is that it doesn't crash or
lock up when encountering such files.

It wouldn't be a terrible exercise to run fsfuzzer against some filesystem
and then run e2fsck on it.  It should be able to fix any problem in the
first run, and the filesystem should be totally clean on the second run.

Cheers, Andreas





--
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