mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 19:55:41 +03:00
![]() Before this change, when both device and label were set, the label would be silently ignored. This is especially problematic when the device is set in another module, and it's not immediately obvious why the label is not having any effect. Additionally, some other modules use the device option to get the device of a filesystem, but this option is not populated when only the label is set, causing those modules to conclude that the filesystem does not have a backing device. With this change, we populate the device option using the label when the label is set. This means that we get a clear error message when both the device and label are set, and that the device is properly populated whenever the label is used to specify the backing device. |
||
---|---|---|
.. | ||
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 | ||
stratis.nix | ||
swraid.nix | ||
trackpoint.nix | ||
tty-backgrounds-combine.sh |