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 > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 05-19-2010, 11:57 AM
Hans de Goede
 
Default Setting up lvs should never fail

As we only do lv handling for complete vgs now, setting up the lv
should never fail.
---
storage/devicetree.py | 8 +-------
1 files changed, 1 insertions(+), 7 deletions(-)

diff --git a/storage/devicetree.py b/storage/devicetree.py
index 1d17126..99adb06 100644
--- a/storage/devicetree.py
+++ b/storage/devicetree.py
@@ -1524,13 +1524,7 @@ class DeviceTree(object):
logSize=log_size,
exists=True)
self._addDevice(lv_device)
-
- try:
- lv_device.setup()
- ret = True
- except DeviceError as (msg, name):
- log.info("setup of %s failed: %s"
- % (lv_device.name, msg))
+ lv_device.setup()

return ret

--
1.7.0.1

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 05-19-2010, 02:19 PM
Ales Kozumplik
 
Default Setting up lvs should never fail

On 05/19/2010 01:57 PM, Hans de Goede wrote:

As we only do lv handling for complete vgs now, setting up the lv
should never fail.
---


Ack.

_______________________________________________
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 06:58 PM.

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