11
A friend posted me about archivemount (actual archive).
There's a bit of work to get it setup (ie, it's not merely yum install archivemount
).
It needs libarchive and fuse-devel
(yum install fuse-devel
) installed.
26
In fact, it seems that at least with newer Ubuntu1 versions it is possible to simply apt-get install archivemount
. Then you can mount your archive as
archivemount [archive file] [mount point]
1: I tried in Ubuntu 13.04.
Generally works fine in Ubuntu 16.04, although it failed for me with a large (18 GB) .7z
archive: it just showed as empty. – BeeOnRope – 2017-01-08T00:30:09.563
3
I had problems with large tar files or with tars containing many files, so I created my own alternative to archivemount: ratarmount.
You can install it with pip3 install --user ratarmount
. And then simply do ratarmount file.tar mountfolder
and unmount with fusermount -u mountfolder
.
2Thanks for the effort you took to implement this! Looks at is EXACTLY what I require. I'll give it a try soon! – Regis May – 2019-03-04T19:05:49.137
25 years later, and someone benefits again from this question. – insaner – 2016-04-01T02:23:04.847
2
See also Is there away to mount a file.tar.bz2 without extracting onto your fs
– Sathyajith Bhat – 2011-04-02T19:10:10.463