archive_read_open_fd was also using for reading and saving archives.
Original patch did not address these, this one does.
Reco
--- archivemount-0.8.7.orig/archivemount.c
+++ archivemount-0.8.7/archivemount.c
@@ -450,7 +450,7 @@ build_tree( const char *mtpt )
return archive_errno(
Apparently libarchive has a limitation of reading zip and 7z archive
contents if it does so by using "archive_read_open_fd".
It can be easily checked with:
bsdtar tvf
vs
cat | bsdtar tvf -
First works, second either fails with 'bsdtar: Error seeking in stdin'
(7z), or erroneously assumes that
Dear Linus,
you are absolutely correct, my mistake. I was using 7zr and not 7z.
For 7z to be supported changes have to be done to archivemount.
Can you support those changes?
Cheers,
Chris.
P.S: You are also correct for libarchive, it is Version: 3.0.4-2 now.
On 05/30/2012 05:20 AM, Linus
On Mon, May 28, 2012 at 03:31:08PM +0300, Nanakos Chrysostomos wrote:
Dear Linus,
Hi Chris,
Thanks for your explanations. Hmm, are you sure Debian Sid has libarchive
2.8.5? I'm getting:
---
$ aptitude show libarchive12 | grep Version
Version: 3.0.4-1
---
And 3.0.4 seems to be the latest stable
Dear Linus,
there is no problem if you already have installed libarchive version =
0.3.0. It supports .7z archives, so archivemount will handle such
archives by default, no changes needed. Bare in mind that archivemount
is a high-level wrapper for libarchive, so everything libarchive
supports
Package: archivemount
Version: 0.6.1-2+b1
Severity: wishlist
Hi,
just tried using archivemount with a .7z archive, but it unfortunately
didn't work, the mount point is empty.
Before I tried archivemounting a .tar.xz which worked fine, but
unfortunately also took a while on this 1GB+ archive.
6 matches
Mail list logo