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.

| improve this answer | |
  • 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 Jan 8 '17 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.

| improve this answer | |

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.

| improve this answer | |
  • 2
    Thanks for the effort you took to implement this! Looks at is EXACTLY what I require. I'll give it a try soon! – Regis May Mar 4 '19 at 19:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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