5

crypttab and UUID / swap creation

view full story
linux-howto

https://bbs.archlinux.org – silentsnake wrote:the man page for crypttab(5) says that one can specify a block device via UUID= followed by the UUID. I tried this and this does NOT work, at least not with the default init system. (Maybe it works with systemd, I didn't try.) It works fine using the UUID path, like /dev/disk/by-uuid/<my_uuid>. Since I just changed the prefix UUID= to the path without touching the UUID itself, it is not likely to be a typo or any other user error. Is there anything wrong or it is a known bug?Looks like a bug to me (I see no code to deal with this in systemd, and initsrcipts does no (HowTos)