Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vi/fusenbd
Mount network block device export as a single-file FUSE filesystem.
https://github.com/vi/fusenbd
fuse fuse-filesystem mount nbd nbd-client network-block-device
Last synced: 3 months ago
JSON representation
Mount network block device export as a single-file FUSE filesystem.
- Host: GitHub
- URL: https://github.com/vi/fusenbd
- Owner: vi
- Created: 2018-08-19T00:27:35.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-08-19T01:15:13.000Z (over 6 years ago)
- Last Synced: 2024-10-05T06:14:59.285Z (3 months ago)
- Topics: fuse, fuse-filesystem, mount, nbd, nbd-client, network-block-device
- Language: Rust
- Size: 9.77 KB
- Stars: 7
- Watchers: 4
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
fusenbd
---A FUSE mounter for network block device.
Example
---```
$ fusenbd data '127.0.0.1:10809' sda1 -r -- -o auto_unmount,default_permissions,allow_other,ro&
[1] 14013$ mkdir -p m
$ ntfs-3g -o ro ./data m
$ ls m
Boot bootmgr BOOTSECT.BAK System Volume Information$ fusermount -u m
$ fusermount -u data
[1]+ Done fusenbd
```Usage
---```
fusenbd 0.1.0
Vitaly _Vi Shukela
FUSE-based network block device client that exposes NBD export as a plain fileUSAGE:
fusenbd [FLAGS] [ARGS]FLAGS:
-h, --help Prints help information
-r, --read-only Mount read-only
-V, --version Prints version informationARGS:
Regular file to use as mountpoint
Host:port to make NBD connection
Named export to use. [default: ]
... The rest of FUSE options. Specify export as "" to use default and skip to FUSE options.Example:
fusenbd nbd.dat 127.0.0.1:10809
fusenbd -r sda1 127.0.0.1:10809 sda1 -- -o allow_empty,ro,fsname=qwerty,auto_unmount
```Building and installing
---For Linux x86_64, you can try a [pre-built version](https://github.com/vi/fusenbd/releases).
Otherwise,1. Setup [rust toolchain](https://rustup.rs)
2. Install FUSE development headers (`apt-get install libfuse-dev`)
3. `cargo install fusenbd`.
4. Either use `fusenbd` right away or find it somewhere and copy to `$PATH`.