Thomas Mühlbacher 9bd3ada1d1 feat(mount): make unlock policy optional/explict
This changes the semantics of some arguments related to unlocking and
slightly changes the unlocking logic. Also update help formatting/text.

Instead of defaulting to `UnlockPolicy::Ask`, the argument becomes
optional. That means if it is specified, the user really wants that
specific policy. Similar to how `passphrase_file` also works.

This also extends `UnlockPolicy` to override `isatty` detection.

Fixes: #292
Signed-off-by: Thomas Mühlbacher <tmuehlbacher@posteo.net>
2024-06-26 19:14:45 +02:00
2024-05-29 09:22:09 +05:30
2024-05-29 09:22:09 +05:30
2024-05-29 09:22:09 +05:30
2024-01-11 23:55:39 -08:00
2024-06-16 14:08:47 -04:00
2024-05-29 09:22:09 +05:30
2024-01-16 17:17:23 -05:00
2024-02-23 08:37:23 +01:00
2023-12-06 15:41:05 -05:00
2024-01-16 17:17:23 -05:00
2024-06-19 14:48:31 -04:00
2024-06-19 14:48:31 -04:00
2013-07-17 13:13:31 -07:00
2024-05-22 22:35:05 +02:00
2024-06-17 18:20:02 +00:00
2024-06-19 14:48:31 -04:00
2024-05-26 20:38:08 -04:00

bcachefs-tools

Userspace tools and docs for bcachefs

Bcachefs is an advanced new filesystem for Linux, with an emphasis on reliability and robustness and the complete set of features one would expect from a modern filesystem.

This repo primarily consists of the following:

  • bcachefs tool, the reason this repo exists.
  • {mkfs,mount,fsck}.bcachefs utils, which is just wrappers calling the corresponding subcommands in the main tool
  • docs in the form of man-pages and a user manual

Please refer to the main site for getting started An in-depth user manual is (also) found on the official website

Version semantics

The tools relies on an expected disk format structure which is reflected by your current kernel version. Disk format can be upgraded or downgraded automatically by the kernel, if needed.

  • Any patch-level change means no disk format change
  • Any minor-level change means a potential disk format change which is not breaking
  • Any major-level change means breaking changes

Build and install

Refer to INSTALL.md

Bug reports and contributions

Description
Languages
C 95.6%
C++ 2%
Rust 1.4%
Roff 0.4%
Nix 0.2%
Other 0.4%