On Mon, Sep 19, 2011 at 11:56:49AM -0400, Joey Hess wrote: > The code is this, and Max changed it most recently: > > # Accept e.g. swap on lvm on crypto > if echo $device | grep -q "^/dev/mapper/"; then > if dm_is_safe "$device"; then > continue > fi > fi > > I wonder if perhaps the device for LVM does not look like > /dev/mapper/ anymore. Perhaps it's seeing /dev/<vgname>/<lvname> instead?
I've just monkey-patched this instance of d-i to write $device to a temporary file. It contains: /dev/mapper/debian-root /dev/mapper/debian-swap_1 Thus the outer-if is passing. dm_is_safe looks fine to me, at least it invokes dm_dev_is_safe, I'll try to look at dm_dev_is_safe next. -- Jon Dowland -- To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20110920105413.GA27023@pris