Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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:

share|improve this question
    
@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 '13 at 14:59
    
Ah, I missed that last sentence of your Q. I'm not sure it can, sorry. –  slm Nov 22 '13 at 15:03

1 Answer 1

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.

share|improve this answer
    
That looks promising, but I have yet to try it. –  endolith Oct 16 '09 at 14:01

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.