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

Re: Strange behavior while copying files



> The reason why it was failing seems to be that /sub/servers/exec had a
> 28KB string as its translator.  ext2fs limits translator sizes to the
> size of a file system block. On my system it happens to be 4KB, so it's
> not even possible to set that kind of translator with settrans. 

It's not possible to read it either--it only ever reads one disk block.
However, looking at the code in ext2fs/inode.c:diskfs_get_translator,
it's clearly not robust to bogus data on the disk.

> But this is still no excuse for ext2fs to crash faced with such an
> inconsistency. 

Quite true.



Reply to: