[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: PATCH: mkinitrd: handle lv root specified as /dev/dm-X properly



Hans de Goede wrote:
Hi all,

Some users (#471729) manage to end up with /dev/dm-X instead of /dev/Foo/Bar in their /etc/fstab (don't ask how I dunno). Given that this is not the first time AFAIK. I've written a patch to handle this properly (as long as the /dev/dm numbering does not change).

This patch does 3 things:
1) Properly handle slave links, so that our sysfs slave walking code
   actually walks the slaves properly
2) Check if a devicemapper device is an lv inside handledm
3) remove handlevordev, as this check is now done in handledm

I've tested this with various setups using mount by LABEL UUID /dev/mapper/XXX /dev/Foo/Bar and /dev/dm-x and all work properly.

This looks good to me.

--
        Peter

RFC 882 put the dots in .com.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]