Closed kkew3 closed 6 months ago
Hi @kkew3 ,
while processing the tarball, tar2sqfs
creates an in-memory representation of the filesystem tree that it serializes, once the end of the tarball is reached. The link count error is produced by that code.
For directories, the link count is basically the number of files plus 2. Versions 1.1.3 that you are using used a 16 bit counter and your en/a/r/t
directory easily overflows that.
This (and the double free in the error path) should be fixed in version 1.2.0.
I compiled the version 1.2.0 and it worked. Thank yo so much!
I have a large wikipedia html dump tarball and I want to convert it to squashfs through
tar2sqfs
. However, it raises the following error:The tarball is too large to be uploaded, but the (gzipped) result of
tar tf wiki-1.tar | gzip > wiki-1.txt.gz
is attached below:wiki-1.txt.gz
where there are about 98804 files under directory
en/a/r/t
.The
tar2sqfs --version
is:Is this behavior expected? Are there any workaround to make squashfs from such tarball? Thank you so much in advance!