From: Dan M. <da...@gm...> - 2014-06-09 20:24:04
|
Ubuntu 14.04 here, avfs == 1.0.1-2:amd64. The internal uzip.c handler seems broken for zips with many files: # hint: use a tmpfs working directory for faster tests tst$ find . -delete tst$ perl -wle 'for (1..50000) { mkdir "$_$_"; open (my $f, ">", "$_$_/$_"); close $f; }' tst$ mountavfs ls ~/.avfs/tmp/x.zip# ls: cannot access /home/user/.avfs/tmp/x.zip#: No such file or directory A strace shows 30384 sendto(5, "<14>Jun 9 21:22:01 avfs[26671]: UZIP: Broken archive", 53, MSG_NOSIGNAL, NULL, 0) = 53 With x.zip#ext-uzip (on Ubuntu) it works. Also, for fewer zip entries (e.g. 1..10000) the internal handler works too BTW, what is the performance impact of using the external handler? I really need to transparently mount archives, and need an archive format with a central entry table for fast random access (zip and rar are the most obvious choices I guess). |