Bcachefs: Difference between revisions
Console4852 (talk | contribs) Expand note about broken mounting with `UUID=` and workarounds to include information about what doesn't work. |
drop 23.11 |
||
Line 169: | Line 169: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Formatting and unlocking the encrypted partition would look like this | |||
<syntaxhighlight lang="console"> | <syntaxhighlight lang="console"> | ||
# nix- | # nix-shell -p keyutils --run 'keyctl link @u @s' | ||
# bcachefs format --encrypted /dev/sda2 | # bcachefs format --encrypted /dev/sda2 | ||
# bcachefs unlock /dev/sda2 | # bcachefs unlock /dev/sda2 |