Comment 7 for bug 1523194

Revision history for this message
GizmoChicken (gizmochicken) wrote :

I started report at Bug #1531387 to expand on comment #1 above.

I don't know what, if any, relation Bug #1531387 has to the current bug, but here's a summary of Bug #1531387:

1) Installing root (/) into an Ext4 formatted LUKS partition creates /dev/dm-0, rather than /dev/mapper/sdaX_crypt.

2) Installing root (/) into a Btrfs formatted LUKS partition creates /dev/mapper/sdaX_crypt, rather than /dev/dm-0.

The above seems odd to me. And as I wrote before, I'm under the impression that, unless working with LVM, it is more appropriate to create /dev/mapper/sdaX_crypt, rather than /dev/dm-0, when installing root (/) into a LUKS partition. See https://www.redhat.com/archives/linux-lvm/2009-August/msg00010.html

But whatever the case, if the bug that prevents installing home (/home) into a separate LUKS encrypted volume can be fixed, it would seem best if root (/) were installed into /dev/mapper/sdaX1_crypt and home (/home) were installed into /dev/mapper/sdaX2_crypt. Or perhaps root (/) into /dev/dm-0 and home (/home) into /dev/dm-1. But root (/) into /dev/dm-0 and home (/home) into /dev/mapper/sdaX_crypt would seem odd.