[pkg-cryptsetup-devel] Bug#652497: cryptdisks: danger in swap

Harald Jenny harald at a-little-linux-box.at
Sun Jan 15 19:38:42 UTC 2012


Hi,

I guess the issue you are referring to is mainly that a new block device
may become /dev/sda - maybe this could be avoided by recommending to
write a udev rules file creating a symlink /dev/swap to the right
partition by first identifying the right device? Something like:

SUBSYSTEM=="block", ATTRS{model}=="Hitachi HTS72502", KERNEL=="sd?1", SYMLINK+="swap"

Kind regards
Harald Jenny





More information about the pkg-cryptsetup-devel mailing list