Re: [PATCH] Do format-specific processing every time. (#614812)

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

 



On Wed, 2010-10-13 at 16:38 +0200, Tomas Mlcoch wrote:
> Remove shouldClear() check in the handleUdevDeviceFormat().
> So we'll do format-specific processing every time => we'll be able
> to discover an inconsistent device even if it should be cleared.

If we're clearing the device, why do we care if it is part of an
inconsistent lvm/md device?

Dave

> ---
>  pyanaconda/storage/devicetree.py |    6 ------
>  1 files changed, 0 insertions(+), 6 deletions(-)
> 
> diff --git a/pyanaconda/storage/devicetree.py b/pyanaconda/storage/devicetree.py
> index 088dc5a..9f94d47 100644
> --- a/pyanaconda/storage/devicetree.py
> +++ b/pyanaconda/storage/devicetree.py
> @@ -1833,12 +1833,6 @@ class DeviceTree(object):
>              device.format = formats.DeviceFormat()
>              return
>  
> -        if shouldClear(device, self.clearPartType,
> -                       clearPartDisks=self.clearPartDisks):
> -            # if this is a device that will be cleared by clearpart,
> -            # don't bother with format-specific processing
> -            return
> -
>          #
>          # now do any special handling required for the device's format
>          #


_______________________________________________
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