The only result of any import when I searched for this was from 2001.
In the intervening decade, have any tools/methods for mounting a tar file as a filesystem (perhaps utilizing fuse) been created?
If so, what are they, and how do they work?
The only result of any import when I searched for this was from 2001.
In the intervening decade, have any tools/methods for mounting a tar file as a filesystem (perhaps utilizing fuse) been created?
If so, what are they, and how do they work?
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.
.7z
archive: it just showed as empty.
Jan 8, 2017 at 0:30
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.
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
.
ratarmount --index-file <file-path> ...
. If the index gets recreated, a warning message should appear. Maybe also try ratarmount -d 3 ...
to increase the number of warnings. If you still have problems, please open an issue on Github.