Welcome to Vifm Q&A, where you can ask questions about Vifm usage. Registration is optional, anonymous posts are moderated. GitHub or Google logins are enabled.

how to configure vifm to open archives using avfs

0 votes
asked Jun 12 in vifm by jose1711

i'd like to try avfs as an alternative to (really slow) archivemount. is there a way how to integrate it easily with vifm? avfs i have is fuse-enabled and works as described at https://github.com/glycerine/avfs/blob/master/avfs-1.0.3/doc/README.avfs-fuse.

1 Answer

+1 vote
answered Jun 12 by xaizek

Archives can be entered like this, but you can't leave them by going to parent directory as vifm wants to do unmounting, which fails. I guess something like FUSE_MOUNT3 which will skip unmounting is needed.

In vifmrc:

filetype *.tar,*.tar.bz2,*.tbz2,*.tgz,*.tar.gz,*.tar.xz,*.txz,*.deb
       \ {Mount with avfs}




rmdir "$dest"
ln -s "$HOME/.avfs$file#/" "$dest"
commented Jun 12 by jose1711

thank you, mounting works nicely but as you said - exiting a browsing mode is a bit of a hassle

commented Jun 17 by xaizek

Added FUSE_MOUNT3 format.

If you would like to make a bug report or feature request consider using GitHub, SourceForge or e-mail. Posting such things here is acceptable, but this is not a perfect place for them.