Bcachefs: Difference between revisions
imported>Onny Add note on change encryption password |
imported>Onny Note on enable zstd compression |
||
| Line 39: | Line 39: | ||
# bcachefs set-passphrase /dev/sda1 | # bcachefs set-passphrase /dev/sda1 | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Enable zstd compression for device <code>/dev/sda1</code> | |||
{{file|/etc/nixos/hardware-configuration.nix|nix|<nowiki> | |||
fileSystems."/" = | |||
{ device = "/dev/sda1"; | |||
fsType = "bcachefs"; | |||
options = [ "compression=zstd" ]; | |||
}; | |||
</nowiki>}} | |||
== Tips and tricks == | == Tips and tricks == | ||