3

It's possible to mount a compressed archive in Linux as if it were a directory using tools like archivemount or gvfsd-mount, both of which depend on libarchive. This only works for "proper archives", though; collections of multiple files with a directory structure. Is there a way to mount single compressed files? In other words, mount a .bz2 as opposed to a .tar.bz2.

Previous discussions:

2
  • @slm: That link does not answer the question. Zip files are archives of multiple files, bz2 files are not. Are you sure it can be used with bz2 files?
    – endolith
    Nov 22, 2013 at 14:59
  • Ah, I missed that last sentence of your Q. I'm not sure it can, sorry.
    – slm
    Nov 22, 2013 at 15:03

1 Answer 1

2

Why, yes there is, sort of. There's a FUSE filesystem called fuseflt that does almost what you want. Rather than mounting a single file, it mounts a directory. Within the mount, you can set up arbitrary filters. The documentation gives your specific example: mounting a directory full of zipped files so that they appear to be unzipped.

1
  • That looks promising, but I have yet to try it.
    – endolith
    Oct 16, 2009 at 14:01

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .