Re: [opensuse] Transparent Archive (TAR or Zip) Access for Linux?



On Friday 29 August 2008 12:25, Amedee Van Gasse wrote:
Randall R Schulz schreef:
Hi,

Does anyone know if there's a Linux counterpart to the Windows
ability to treat Zip files as if they're just directories,
transparently deriving directory information and automatically
extracting their contents on demand?

...

Sounds like you are asking for a Filesystem in USErspace aka FUSE.

...
http://fuse.sourceforge.net/wiki/index.php/ArchiveFileSystems

I think you'll find what you need over there.

I tried archivemount. It works beautifully. I just had to install
libarchive (available via Guru's Packages for 10.0) and, for some
reason, manually issue the "insmod" call for the FUSE kernel module.

I wrote a little script, "am" to facilitate easy mounting and unmounting
of archive files.

What's more, while the capsule summary on the page to which you referred
me says that archivemount handles cpio, tar.gz, tar.bz2, I find that it
also handles .zip and uncompressed .tar, too. I guess it's up to
libarchive which formats are handled, so presumably all those mentioned
on the man page installed with libarchive are also handled:

· old-style tar archives,
· most variants of the POSIX “ustar” format,
· the POSIX “pax interchange” format,
· GNU-format tar archives,
· most common cpio archive formats,
· ISO9660 CD images (with or without RockRidge extensions),
· Zip archives.
The library automatically detects archives compressed with gzip(1),
bzip2(1), or compress(1) and decompresses them transparently.


I confirmed that ISO images work with archivemount. To me (and with my
helper script), this is a nice convenience by comparison to mounting
ISOs via a loopback device.


Thanks again for the pointer. This is very useful.


--
Amedee


Randall Schulz
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx



Relevant Pages

  • British Army - Records of Genealogical Interest
    ... Having recently been scouting for information on my family members' military history I found the below listing, sent to me by a Regimental Museum and Archive, to be of great help. ... · Most Service Records of Other Ranks 1914-1920 were destroyed in 1940. ... The surviving records are held at the *National Archives*. ... Medal Index, copies of which are held in *The* *National Archives *and the *National War Museum of Scotland*, which is an alphabetical list of soldiers from all units who qualified for medals, and is more than 90% complete. ...
    (soc.genealogy.britain)
  • Miscosoftware Released WinTar Ver1.0 in January 20, 2009
    ... January 20, 2009, Miscosoftware announces the release of WinTar ... a simple 32-bit Windows version taball archiver. ... There a lot of archive formats on Unix/Linux system that do not be ... read and create Windows CAB and ZIP archives. ...
    (comp.software.shareware.announce)
  • Re: ANN: ZPack File Format, spec and tools
    ... That should really the job of a compile time assertion rather than a run ... but cpio doesn't really sound like anything even close... ... you can extract archives, ... text-based formats (xml, line-based formats, and formats resembling ...
    (comp.compression)
  • Re: Idea for C= Package Management system
    ... tools necessary to deal with said formats. ... requirements etc. but *please* don't put binary data into the XML ... would be extracted and tokenized for the target system. ... or more archives, or an individual file selected from the archive, ...
    (comp.sys.cbm)
  • Re: [Full-Disclosure] Multiple AV Vendors ignoring tar.gz archives
    ... > If virus writers start using these formats AV companies could be slow to ... If a virus was released that depended on, say tar.gz archives, and some ... regardless of whether the malware in question self-packs in .RAR, .ZIP, ... OK -- in a gateway scanner it is likely to be a terrible flaw. ...
    (Full-Disclosure)