FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu Masters Of The Universe

 
 
LinkBack Thread Tools
 
Old 10-13-2010, 02:38 PM
Tomas Mlcoch
 
Default Do format-specific processing every time. (#614812)

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.
---
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
#
--
1.7.2.3

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 10-13-2010, 02:49 PM
David Lehman
 
Default Do format-specific processing every time. (#614812)

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@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 08:00 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org