cybernoid / archivemount

A fuse filesystem for mounting archives in formats supported by libarchive.
Other
191 stars 20 forks source link

Unrecognized archive format (gzip) #16

Closed jakeogh closed 4 years ago

jakeogh commented 4 years ago

gzip from: ftp://ftp.ncbi.nlm.nih.gov/pubchem/Compound/CURRENT-Full/SDF/Compound_000000001_000500000.sdf.gz

$ archivemount /home/user/pubchem/new/ftp.ncbi.nlm.nih.gov/pubchem/Compound/CURRENT-Full/SDF/Compound_000000001_000500000.sdf.gz /tmp/tmpb27_6_7x -o auto_unmount -o readonly
Unrecognized archive format

$ file /home/user/pubchem/new/ftp.ncbi.nlm.nih.gov/pubchem/Compound/CURRENT-Full/SDF/Compound_000000001_000500000.sdf.gz
/home/user/pubchem/new/ftp.ncbi.nlm.nih.gov/pubchem/Compound/CURRENT-Full/SDF/Compound_000000001_000500000.sdf.gz: gzip compressed data, from Unix, original size modulo 2^32 2739136153

$ ls /tmp/tmpb27_6_7x
total 8.0K
drwx------  2 user user 4.0K 2020-08-30 22:35:22 .
drwxrwxrwt 15 root root 4.0K 2020-08-30 22:36:33 ..
cybernoid commented 4 years ago

The underlying file is not an archive but a single zipped file. Maybe the error message could be a bit more clear, but the behaviour is exactly as expected.