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 release of libarchive
according to libarchive.github.com.

And although libarchive 3.0.4 is supposed to support .7z archives, the
following commands do not work for me, the mount point remains empty:

---
$ mkdir /tmp/mytestdir/ && \
mkdir /tmp/mytestdirmount && \
echo "foobar" > /tmp/mytestdir/testfile && \
7z a /tmp/mytestdir.7z /tmp/mytestdir && \
archivemount /tmp/mytestdir.7z /tmp/mytestdirmount && \
mount | grep "archivemount" && \
ls -lah /tmp/mytestdirmount

7-Zip [64] 9.20  Copyright (c) 1999-2010 Igor Pavlov  2010-11-18
p7zip Version 9.20 (locale=en_GB.UTF-8,Utf16=on,HugeFiles=on,2 CPUs)
Scanning

Creating archive /tmp/mytestdir.7z

Compressing  mytestdir/testfile      

Everything is Ok
archivemount on /tmp/mytestdirmount type fuse.archivemount 
(rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
total 24K
drwxr-xr-x   0 linus linus 179 Jan  1  1970 .
drwxrwxrwt 105 root  root  24K May 30 04:02 ..
---


So I'm a little confused now, is this a missing feature in
archivemount (as I initially thought) or a bug in archivemount or
a bug in libarchive? Or a bug in front instead of inside of my laptop :)?

Cheers, 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 is supported also by archivemount.
> Wheezy/SID supports only libarchive-2.8.5-5 version for the moment.
> I believe that you should file a new bug to the libarchive
> maintainer to support the new version.
> 
> 
> Regards,
> Chris.
> 
> 
> On 05/24/2012 02:24 AM, Linus Lüssing wrote:
> >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.
> >
> >
> >I'm not really into the details of compression algorithms and their
> >container formats. But I'd guess that theoretically mounting a .7z
> >archive should be much faster as the directory and file information are
> >somehow more easily accesable, therefore not requiring to uncompress the
> >whole archive before getting that information compared to .tar.xz, right?
> >At least with 'ark' displaying the archive contents is instant with a
> >.7z, while with the .tar.xz it again takes a while.
> >
> >As both .7z and .tar.xz use LZMA, the size of those two is pretty much
> >the same. Therefore .7z could be a supperior solution to .tar.xz or
> >.tar.lzma for archivemounting?
> >
> >Looks like .7z is supported by libarchive, too.
> >
> >Cheers, Linus
> >
> >
> >-- System Information:
> >Debian Release: wheezy/sid
> >   APT prefers unstable
> >   APT policy: (500, 'unstable')
> >Architecture: amd64 (x86_64)
> >
> >Kernel: Linux 3.2.0-2-amd64 (SMP w/2 CPU cores)
> >Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
> >Shell: /bin/sh linked to /bin/bash
> >
> >Versions of packages archivemount depends on:
> >ii  fuse          2.9.0-1
> >ii  libarchive12  3.0.4-1
> >ii  libc6         2.13-32
> >ii  libfuse2      2.9.0-1
> >
> >archivemount recommends no packages.
> >
> >archivemount suggests no packages.
> >
> >-- no debconf information
> >
> 



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to