GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - bzf/archivefs: Mount your archives and browse them as regular files

BranchesTags
Open more actions menu

Latest commit

 

History

114 Commits
114 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
bin
bin
 
 
debian
debian
 
 
include
include
 
 
man
man
 
 
src
src
 
 
tests
tests
 
 
.clang-format
.clang-format
 
 
.dockerignore
.dockerignore
 
 
.gitignore
.gitignore
 
 
.gitlab-ci.yml
.gitlab-ci.yml
 
 
Brewfile
Brewfile
 
 
CHANGELOG.md
CHANGELOG.md
 
 
Cargo.toml
Cargo.toml
 
 
Dockerfile
Dockerfile
 
 
Makefile
Makefile
 
 
README.md
README.md
 
 
build.rs
build.rs
 
 
rust-toolchain
rust-toolchain
 
 
wrapper.h
wrapper.h
 
 

Repository files navigation

archivefs

archivefs - mount your archives and browse them as regular files

Usage

archivefs [-sdf] --directory=/some/absolute/path /mountpoint

Features

  • Expand archives as directories
  • Reads files from an archive as a regular file
  • Shows non-archive files and directories as normal

Quick example

$ tree .
.
├── archives
│   └── maskinen.tar.gz
└── mountpoint

2 directories, 1 file
$ archivefs --directory=$HOME/example/archives mountpoint/
$ tree .
.
├── archives
│   └── maskinen.tar.gz
└── mountpoint
    └── maskinen
        ├── pengar.txt
        └── segertaget.txt

3 directories, 3 files
$ cat mountpoint/maskinen/segertaget.txt | head -n5
[Vers 1]
He-he-hej, här kommer segertåget
Rullar in som teknodromen
Tryck på play, du sätter på den
Dansar som på, äh, vi kör igen

Description

archivefs is a FUSE file system for mounting and reading from archive files instead of unpacking them to read the content.

Building

To build archivefs there are some packages that are required to be installed on the system:

  • libfuse (or osxfuse)
  • libarchive
  • Rust
  • A C compiler
  • Homebrew

To build the project you run the make command:

$ brew bundle # Installs dependencies for building the project
$ make

Bugs

archivefs does not handle nested directories inside an archive file properly. For now only flat archvies are compatiable.

If you get the following error message you can try setting the LD_LIBRARY_PATH environment variable to the path of the libarchivefs library:

$ ./archivefs
./archivefs: error while loading shared libraries: libarchivefs.so: cannot open shared object file: No such file or directory
$ LD_LIBRARY_PATH=./target/release/deps ./archivefs
Need to set which archive you want to mount

Good links

  • https://fossies.org/dox/fuse-2.9.7/fuse__compat_8h_source.html

About

Mount your archives and browse them as regular files

Topics

fuse-filesystemlibarchiveosxfuserust-lang

Resources

Readme
Activity

Stars

9 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.