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 User

 
 
LinkBack Thread Tools
 
Old 12-09-2009, 06:05 PM
David Lehman
 
Default Skip disklabel handling for biosraid and multipath members.

---
storage/devicetree.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/storage/devicetree.py b/storage/devicetree.py
index 23a8e57..2eb8d0d 100644
--- a/storage/devicetree.py
+++ b/storage/devicetree.py
@@ -1313,7 +1313,7 @@ class DeviceTree(object):

# Now, if the device is a disk, see if there is a usable disklabel.
# If not, see if the user would like to create one.
- if device.partitionable:
+ if device.partitionable and not device.format.hidden:
self.handleUdevDiskLabelFormat(info, device)
if device.partitioned or self.isIgnored(info):
# If the device has a disklabel, or the user chose not to
--
1.6.5.2

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 12-09-2009, 06:40 PM
David Lehman
 
Default Skip disklabel handling for biosraid and multipath members.

---
storage/devicetree.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/storage/devicetree.py b/storage/devicetree.py
index 23a8e57..b6b688c 100644
--- a/storage/devicetree.py
+++ b/storage/devicetree.py
@@ -1313,7 +1313,8 @@ class DeviceTree(object):

# Now, if the device is a disk, see if there is a usable disklabel.
# If not, see if the user would like to create one.
- if device.partitionable:
+ format = getFormat(udev_device_get_format(info))
+ if device.partitionable and not format.hidden:
self.handleUdevDiskLabelFormat(info, device)
if device.partitioned or self.isIgnored(info):
# If the device has a disklabel, or the user chose not to
--
1.6.5.2

_______________________________________________
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 11:46 PM.

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