diff options
author | Thomas Mühlbacher <tmuehlbacher@posteo.net> | 2024-06-26 18:00:48 +0200 |
---|---|---|
committer | Thomas Mühlbacher <tmuehlbacher@posteo.net> | 2024-06-26 19:14:45 +0200 |
commit | 9bd3ada1d15d7533ff02fd5cdcbab53ecace7906 (patch) | |
tree | 3ee4a3e3993bbbe6680816d15e8ef12c96811ce5 /libbcachefs/btree_trans_commit.c | |
parent | a411e7237f4a452a622034731575810e57bfadd7 (diff) |
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>
Diffstat (limited to 'libbcachefs/btree_trans_commit.c')
0 files changed, 0 insertions, 0 deletions