[Pkg-cryptsetup-devel] Bug#405301: bug 405301 - cryptoroot on LVM
needs source dev /dev/mapper/* in crypttab
David Härdeman
david at hardeman.nu
Mon Jan 8 21:00:37 CET 2007
I'm afraid it's not that simple.
The source device is given to the initramfs script when it is executing,
and the initramfs script needs to figure out how to create said device
if it doesn't exist.
Now, if it is handed a random device name such as /dev/X/Y, there is no
way to tell what steps are necessary to create said node. If the script
is handed /dev/mapper/X-Y, it is almost certainly a LVM node.
/dev/VG/LV devices are not supported by initramfs-tools either, see bug
reports #402931 and #378332.
I'm inclined to simply document that the LVM symlinks are not supported
as device nodes.
--
David Härdeman
More information about the Pkg-cryptsetup-devel
mailing list