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

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

 



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.

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux