diff options
author | Hans de Goede <hdegoede@redhat.com> | 2009-04-23 09:34:32 +0200 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2009-04-24 09:54:56 +0200 |
commit | d3fcb8726db676c85b0f5f37719dc19e4d423008 (patch) | |
tree | 2e52781f3d67e036d7c5a07c9091ef93d2b641fc /partIntfHelpers.py | |
parent | a4d8cc0c3e2423a4ec4cb96267ebde6a14433a0a (diff) | |
download | anaconda-d3fcb8726db676c85b0f5f37719dc19e4d423008.tar.gz anaconda-d3fcb8726db676c85b0f5f37719dc19e4d423008.tar.xz anaconda-d3fcb8726db676c85b0f5f37719dc19e4d423008.zip |
Don't remove an inconsistent lvm partition from the devicetree (#496638)
When a PV partition is part of an inconsistent VG, and the user chooses
to ignore it we currently remove it from the devicetree, but since
partition_gui.py populate() uses parted on the disk to find out about
the partitions, it will still see it and then backtrace when it cannot
find it in the devicetree.
This patch fixes this by instead making the partition immutable. Note
that I've put the reason for it being immutable in the new immutableDevices
array, so that if we have similar cases in the future we can use
immutableDevices for that too. We might even want to move some of our
existing cases there.
Diffstat (limited to 'partIntfHelpers.py')
0 files changed, 0 insertions, 0 deletions