https://github.com/yshui/bcachefs-mount
A helper tool for mounting bcachefs
https://github.com/yshui/bcachefs-mount
Last synced: about 2 months ago
JSON representation
A helper tool for mounting bcachefs
- Host: GitHub
- URL: https://github.com/yshui/bcachefs-mount
- Owner: yshui
- Created: 2020-05-02T15:28:33.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-05-04T04:44:46.000Z (about 5 years ago)
- Last Synced: 2025-03-28T19:17:59.534Z (about 2 months ago)
- Language: Rust
- Size: 70.3 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Usage
=====```
bcachefs-mount 0.1.0
Mount a bcachefs filesystem by its UUIDUSAGE:
bcachefs-mount [OPTIONS]FLAGS:
-h, --help
Prints help information-V, --version
Prints version informationOPTIONS:
-o
Mount options [default: ]-p, --password
Where the password would be loaded from.
Possible values are: "fail" - don't ask for password, fail if filesystem is encrypted; "wait" - wait for
password to become available before mounting; "ask" - prompt the user for password; [default: fail]ARGS:
External UUID of the bcachefs filesystem
Where the filesystem should be mounted
```Caveats
=======* `--password ask` is not yet implemented, but you can use `--password wait`, and load the key with `bcachefs unlock`.
Build
=====```sh
$ git submodule update --init --recursive
$ cargo build --release
```Binary will be built in `target/release/bcachefs-mount`
Dependencies:
* rust
* blkid
* uuid
* liburcu
* libsodium
* zlib
* liblz4
* libzstd
* libkeyutils