]> git.ipfire.org Git - thirdparty/dracut.git/commit
lvm: Only activate a given vg+lv once.
authorColin Guthrie <colin@mageia.org>
Thu, 16 Feb 2012 00:00:03 +0000 (00:00 +0000)
committerHarald Hoyer <harald@redhat.com>
Wed, 22 Feb 2012 17:30:58 +0000 (18:30 +0100)
commit0330b919872073402c9e62bdad7b0f8916e0f5bf
treefc618b595f4f20a82abed62637897a6d2f0aebf7
parente0a38de881c078150660726c00a843ff7bc2038f
lvm: Only activate a given vg+lv once.

Due to the way the main loop runs to detect partions, the same one
might be included twice (albeit via different symlinks.

This code simply prevents the same combo being activated twice.

A better fix might simply be to not include duplicate (after
resolving symlinks) entries in the host_fs_types variable.
modules.d/90lvm/module-setup.sh