[AVFS] Filenames in a mounted avfs FS
"Francesco Colista" <[email protected]> Thu, 25 Jul 2019 07:04:08 +0000
| Newsgroups | gmane.comp.file-systems.avfs.user |
|---|---|
| Message-ID | <[email protected]> |
--===============7882188199573662434== Content-Type: multipart/alternative; boundary="--=_RainLoop_729_316730764.1564038248" ----=_RainLoop_729_316730764.1564038248 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hello.=0AI've started to use AVFS with Alpine Linux, which is built with = these options:=0A=0A ./configure =0A --build=3D$CBUILD =0A --host=3D$CHOS= T =0A --enable-fuse =0A --enable-library =0A --with-system-zlib =0A --wit= h-system-bzlib =0A --with-xz =0A --with-zstd =0A --prefix=3D/usr =0A=0AWh= en I try to cd into a tar.gz file, it works if the file has tar.gz as ext= ension, but not with another one (like, of example, apk).=0A=0ASmall exam= ple and demo:=0A=0A# file zstd-static-1.4.0-r0.apk=0Azstd-static-1.4.0-r0= .apk: gzip compressed data, max compression, from Unix, original size mod= ulo 2^32 849920=0A=0A#cd zstd-static-1.4.0-r0.apk#=0A-ash: cd: can't cd t= o zstd-static-1.4.0-r0.apk#: No such file or directory=0A=0A(running avfs= -d, i got this message:=0ALOOKUP /mirror/alpine/alpine/v3.10/main/x86_64= /zstd-static-1.4.0-r0.apk#=0Agetattr /mirror/alpine/alpine/v3.10/main/x86= _64/zstd-static-1.4.0-r0.apk#=0A unique: 27554, error: -2 (No such file o= r directory), outsize: 16=0A=0Aand /var/log/messages dump this error:=0AJ= ul 25 07:20:19 ita-al-mirror user.info avfs[6534]: UZIP: Couldn't find En= d of Central Directory Record )=0A=0AIf i rename that apk in tar.gz, it w= orks:=0A=0A# mv zstd-static-1.4.0-r0.apk zstd-static-1.4.0-r0.tar.gz=0A# = cd zstd-static-1.4.0-r0.tar.gz#=0Azstd-static-1.4.0-r0.tar.gz## ls=0Ausr= =0Azstd-static-1.4.0-r0.tar.gz## =0A=0AI've tried to check if I was missi= ng some ./configure param, but seems not.=0AI'm testing this in a LVM FS,= with this kernel and arch:=0A# uname -ar=0ALinux ita-al-mirror 4.19.58-0= -vanilla #1-Alpine SMP Wed Jul 10 12:40:48 UTC 2019 x86_64 Linux=0A=0ATha= nks.=0A=0A.: Francesco=0A.: Francesco Colista ----=_RainLoop_729_316730764.1564038248 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable <!DOCTYPE html><html><head><meta http-equiv=3D"Content-Type" content=3D"t= ext/html; charset=3Dutf-8" /></head><body><div data-html-editor-font-wrap= per=3D"true" style=3D"font-family: arial, sans-serif; font-size: 13px;">H= ello.<br>I've started to use AVFS with Alpine Linux, which is built with = these options:<br><br> ./configure \<br> --build=3D$CBUILD \<br> --host= =3D$CHOST \<br> --enable-fuse \<br> --enable-library \<br> --with-system-= zlib \<br> --with-system-bzlib \<br> --with-xz \<br> --with-zstd \<br> --= prefix=3D/usr \<br><br>When I try to cd into a tar.gz file, it works if t= he file has tar.gz as extension, but not with another one (like, of examp= le, apk).<br><br>Small example and demo:<br><br># file zstd-static-1.4.0-= r0.apk<br>zstd-static-1.4.0-r0.apk: gzip compressed data, max compression= , from Unix, original size modulo 2^32 849920<br><br>#cd zstd-static-1.4.= 0-r0.apk#<br>-ash: cd: can't cd to zstd-static-1.4.0-r0.apk#: No such fil= e or directory<br><br>(running avfs -d, i got this message:<br>LOOKUP /mi= rror/alpine/alpine/v3.10/main/x86_64/zstd-static-1.4.0-r0.apk#<br>getattr= /mirror/alpine/alpine/v3.10/main/x86_64/zstd-static-1.4.0-r0.apk#<br> un= ique: 27554, error: -2 (No such file or directory), outsize: 16<br><br>an= d /var/log/messages dump this error:<br>Jul 25 07:20:19 ita-al-mirror use= r.info avfs[6534]: UZIP: Couldn't find End of Central Directory Record )<= br><br>If i rename that apk in tar.gz, it works:<br><br># mv zstd-static-= 1.4.0-r0.apk zstd-static-1.4.0-r0.tar.gz<br># cd zstd-static-1.4.0-r0.tar= .gz#<br>zstd-static-1.4.0-r0.tar.gz## ls<br>usr<br>zstd-static-1.4.0-r0.t= ar.gz## <br><br>I've tried to check if I was missing some ./configure par= am, but seems not.<br>I'm testing this in a LVM FS, with this kernel and = arch:<br># uname -ar<br>Linux ita-al-mirror 4.19.58-0-vanilla #1-Alpine S= MP Wed Jul 10 12:40:48 UTC 2019 x86_64 Linux<br><br>Thanks.<br><br>.: Fra= ncesco<br><br><br><br><br><signature>.: Francesco Colista</signature> </d= iv></body></html> ----=_RainLoop_729_316730764.1564038248-- --===============7882188199573662434== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --===============7882188199573662434== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Avf-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/avf-user --===============7882188199573662434==--