Re: dm(-crypt) and /dev/disk/by-label/

From: Jan Engelhardt
Date: Mon May 14 2007 - 15:56:55 EST



On May 14 2007 19:06, Alexander E. Patrakov wrote:
> Christian Hesse wrote:
>> Hello everybody,
>>
>> I have ext3 filesystems with labels on devicemapper crypted devices. These
>> do not show up in /dev/disk/by-label/, in contrast to filesystems of my
>> "real" partitions. Is this the expected behaviour or what could go wrong?
>
> Some distributions intentionally tell udev to ignore device-mapper devices
> completely, for the following reasons:
>
> 1) without this prohibition, udev creates /dev/dm-* devices, and LILO breaks
> completely if they are present instead of the correct /dev/mapper/* nodes
> created by dmsetup and similar tools

Uhm, openSUSE does not have this prohibition. /dev/dm-\d+ exist,
/dev/mapper/\w+ exist, as do /dev/disk/by-label/\w+. Though,
it uses GRUB by default.


Jan
--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/