cybernoid / archivemount

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

Archivemount change some archive type to tar #30

Closed og900aero closed 1 week ago

og900aero commented 3 months ago

I try archivemount, but I noticed that it changes the type of a couple of compressors. For example, if I mount a zip or tar.zst, then make changes in it and detach it with fusermount -u , the modified file will be changed to tar:

─ ✔  shyciii@debian  /home/Data  took 4.934s  
╰─$ file -Lb --mime-type scrip.tar.zst
application/x-tar

╭─ ✔  shyciii@debian  /home/Data  took 10.843s  
╰─$ file -Lb --mime-type scrip.tar.zst.orig 
application/zstd
nabijaczleweli commented 3 months ago

This was fixed in archivemount-ng, cf. #29.

og900aero commented 1 week ago

This was fixed in archivemount-ng, cf. #29.

And how can I install on Debian 12?

nabijaczleweli commented 1 week ago

It'll be the default archivemount in trixie, but for bookworm:

dget -ux http://deb.debian.org/debian/pool/main/a/archivemount/archivemount_1-1.dsc
cd archivemount-1/
sudo apt build-dep .
debuild -us -uc
sudo apt install ../archivemount_1-1_amd64.deb
og900aero commented 1 week ago

It'll be the default archivemount in trixie, but for bookworm:

dget -ux http://deb.debian.org/debian/pool/main/a/archivemount/archivemount_1-1.dsc
cd archivemount-1/
sudo apt build-dep .
debuild -us -uc
sudo apt install ../archivemount_1-1_amd64.deb

Thank u!