Re: [PATCH 3/7] Remove special partition handling from isIgnored

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

 



Hi,

On 01/22/2010 05:19 PM, David Lehman wrote:
On Thu, 2010-01-21 at 21:32 +0100, Hans de Goede wrote:
Remove special partition handling from isIgnored, addUdevPartitionDevice
does all the necessary checking itself now a days.
---
  storage/devicetree.py |   16 ----------------
  1 files changed, 0 insertions(+), 16 deletions(-)

diff --git a/storage/devicetree.py b/storage/devicetree.py
index eca5768..106810d 100644
--- a/storage/devicetree.py
+++ b/storage/devicetree.py
@@ -911,22 +911,6 @@ class DeviceTree(object):
                  self.addIgnoredDisk(name)
                  return True

-        for ignored in self._ignoredDisks:
-            if ignored == os.path.basename(os.path.dirname(sysfs_path)):
-                # this is a partition on a disk in the ignore list
-                lvm.lvm_cc_addFilterRejectRegexp(name)
-                return True

We may still need this to support good old-fashioned ignoredisks.


No, when a disk is ignored it does not get added to the tree and if
addUdevPartitionDevice cannot find the disk it will not add the partition.

Regards,

Hans

_______________________________________________
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