forked from mirrors/nixpkgs
c70f047315
According to a ZFS issue about hibernation causing data corruption: https://github.com/openzfs/zfs/issues/12842 The way this happens is if the system force imports a pool that was suspended during hibernation. I've had this happen twice on NixOS and I'd like to avoid having this happen again, to me or others. To do this I've added an assertion that makes sure you can't have `forceImportRoot` or `forceImportAll` enabled with `allowHibernation`. Signed-off-by: Jakub Sokołowski <jakub@status.im> |
||
---|---|---|
.. | ||
filesystems | ||
auto-upgrade.nix | ||
bcache.nix | ||
cpu-freq.nix | ||
encrypted-devices.nix | ||
filesystems.nix | ||
lvm.nix | ||
network-interfaces-scripted.nix | ||
network-interfaces-systemd.nix | ||
network-interfaces.nix | ||
powertop.nix | ||
scsi-link-power-management.nix | ||
snapraid.nix | ||
stratis.nix | ||
swraid.nix | ||
trackpoint.nix | ||
tty-backgrounds-combine.sh |