Commit Graph

6 Commits

Author SHA1 Message Date
Chris Webb
49923376d1 Use scrypt from libsodium
bcachefs-tools has both libscrypt and libsodium as build dependencies,
but libsodium already includes the same scrypt implementation as libscrypt,
originally written by Colin Percival.

Use the libsodium copy, dropping the extra libscrypt dependency.

Explicitly adopt the default scrypt N, r and p values from libscrypt to
avoid unintended changes in the default work parameters for bcachefs.

Signed-off-by: Chris Webb <chris@arachsys.com>
2021-10-23 12:16:08 -04:00
Brett Holman
60a6b2882e Clean up smoketest and pytests.
- Replace depreciated tempfile with mktemp in smoketest.
- Remove unused pytest imports and variables.
- Make path lookup less fragile. Allows pytest to run from any cwd.
- Prevent exeptions caused by calling functions/methods on None objects.
- Disable fuse tests in smoketest. These are broken and add noise.
- Add missing travis CI dependency.

Signed-off-by: Brett Holman <bholman.devel@gmail.com>
2021-10-11 20:24:12 -06:00
Yuxuan Shui
57ada395b2 Add a mount.bcachefs tool
This tool currently has most of the fundmental features implemented.
It can mount a filesystem specified by uuid, it can ask password for an
encrypted filesystem.

There may be some work that needs to be done to make it behave more like
a "mount.*" tool.

Related: #1

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
2020-05-05 21:33:40 +01:00
Justin Husted
f24bf2af6b Well, arm64 crashed. Turn that off for now.
Signed-off-by: Justin Husted <sigstop@gmail.com>
2019-12-28 20:38:26 -08:00
Justin Husted
e19950a252 bcachefs-tools: Add arm64 build on travis-ci.
Signed-off-by: Justin Husted <sigstop@gmail.com>
2019-12-28 20:34:31 -08:00
Justin Husted
15bcfb2a33 Add a travis.yml file for bcachefs-tools.
Signed-off-by: Justin Husted <sigstop@gmail.com>
2019-12-28 20:32:39 -08:00