https://github.com/st3iny/tarfs
Mount tarballs read only via FUSE. Written in Rust.
https://github.com/st3iny/tarfs
Last synced: 5 months ago
JSON representation
Mount tarballs read only via FUSE. Written in Rust.
- Host: GitHub
- URL: https://github.com/st3iny/tarfs
- Owner: st3iny
- License: mit
- Created: 2019-12-16T16:28:41.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2024-02-18T15:38:11.000Z (over 1 year ago)
- Last Synced: 2024-12-27T17:14:16.823Z (7 months ago)
- Language: Rust
- Homepage:
- Size: 65.4 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# tarfs
Mount tarballs readonly via FUSE. Written in Rust.## Usage
```
Mount a tar archive as a read-only file systemUsage: tarfs [OPTIONS]
Arguments:
Path to the archive
Mount point for the file systemOptions:
--auto-unmount Unmount the file system automatically on exit
--allow-root Allow root to access the file system
--allow-other Allow other users to access the file system
--dump-tree Dump the file system tree to the debug log
-h, --help Print help
-V, --version Print version
```Currently, `tarfs` handles uncompressed, bzip2, gzip, xz and zstd compressed tar archives.
The log level can be configured via the `RUST_LOG` environment variable. Available log levels are
`trace`, `debug`, `info`, `warn` and `error`. The default log level is `info`.## Build
Run `cargo build` to build a debug binary at `target/debug/tarfs`.
Run `cargo build --release` to build a release binary at `target/release/tarfs`.
Run `cargo install --path=.` to build and install a release binary to `~/.cargo/bin/tarfs`.