[pkg-cryptsetup-devel] Bug#419571: Patch to mkinitramfs hook

Alasdair G Kergon agk at redhat.com
Wed May 19 01:32:44 UTC 2010


If this is LVM2, use pvs, vgs or lvs for queries - it should be simpler!
See man pages for how to control output format.  Remember PVs can move
on booting - it's the UUIDs found on the devices that matter, not the device
names, so detection/waiting must be done during the actual boot.

Latest versions of LVM2 can also activate LVs while irrelevant PVs in the VG
are missing, but it's risky to rely on that *if* booting after a crash while
someone was changing any properties of the LV(s) concerned as the change might
have been committed but not yet visible.  (So only use that on static
configurations.)

Alasdair






More information about the pkg-cryptsetup-devel mailing list