https://github.com/opcoder0/zmount
Fuse filesystem for compressed files
https://github.com/opcoder0/zmount
Last synced: over 1 year ago
JSON representation
Fuse filesystem for compressed files
- Host: GitHub
- URL: https://github.com/opcoder0/zmount
- Owner: opcoder0
- License: apache-2.0
- Created: 2023-09-08T10:22:38.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-09-22T11:47:08.000Z (almost 3 years ago)
- Last Synced: 2024-04-21T00:58:05.397Z (about 2 years ago)
- Language: Go
- Size: 38.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# zmount
A Fuse filesystem for compressed files. The tool currently supports Zip files in read-only mode.
## Usage
```
-m string
directory to mount compressed file
-o string
mount option values are comma separated combination of [r,w,f] (default "r")
-stop
stop and unmount
-z string
path to compressed file
```
### Usage examples
#### To mount zip file in read-only mode
The command runs as a daemon. Path to trace/debug logs under `/tmp/` look for `/tmp/zmount*.log`
```
zmount -m /path/to/mount/dir -z /path/to/zip/file
```
#### To unmount and stop the daemon
```
zmount -m /path/to/mount/dir -stop
```
#### To mount zip file in read-only mode and run in forground
```
zmount -m /path/to/mount/dir -z /path/to/zip/file -o r,f
```
Press ctrl-c to stop the process. Or send SIGINT to unmount and exit.
## Work In Progress
- Work in progress to support writes / updates