From: Francesco C. <fra...@gm...> - 2019-07-25 07:22:04
|
Hello. I've started to use AVFS with Alpine Linux, which is built with these options: ./configure --build=$CBUILD --host=$CHOST --enable-fuse --enable-library --with-system-zlib --with-system-bzlib --with-xz --with-zstd --prefix=/usr When I try to cd into a tar.gz file, it works if the file has tar.gz as extension, but not with another one (like, of example, apk). Small example and demo: # file zstd-static-1.4.0-r0.apk zstd-static-1.4.0-r0.apk: gzip compressed data, max compression, from Unix, original size modulo 2^32 849920 #cd zstd-static-1.4.0-r0.apk# -ash: cd: can't cd to zstd-static-1.4.0-r0.apk#: No such file or directory (running avfs -d, i got this message: LOOKUP /mirror/alpine/alpine/v3.10/main/x86_64/zstd-static-1.4.0-r0.apk# getattr /mirror/alpine/alpine/v3.10/main/x86_64/zstd-static-1.4.0-r0.apk# unique: 27554, error: -2 (No such file or directory), outsize: 16 and /var/log/messages dump this error: Jul 25 07:20:19 ita-al-mirror user.info avfs[6534]: UZIP: Couldn't find End of Central Directory Record ) If i rename that apk in tar.gz, it works: # mv zstd-static-1.4.0-r0.apk zstd-static-1.4.0-r0.tar.gz # cd zstd-static-1.4.0-r0.tar.gz# zstd-static-1.4.0-r0.tar.gz## ls usr zstd-static-1.4.0-r0.tar.gz## I've tried to check if I was missing some ./configure param, but seems not. I'm testing this in a LVM FS, with this kernel and arch: # uname -ar Linux ita-al-mirror 4.19.58-0-vanilla #1-Alpine SMP Wed Jul 10 12:40:48 UTC 2019 x86_64 Linux Thanks. .: Francesco .: Francesco Colista |