summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--iw/lvm_dialog_gui.py7
2 files changed, 9 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index b4de3f30d..5bc2f0091 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2004-10-06 Jeremy Katz <katzj@redhat.com>
+ * iw/lvm_dialog_gui.py (VolumeGroupEditor.updateLogVolStore):
+ Don't show "0" as a mountpoint for an LV that's not being mounted
+ anywhere (#134867)
+
* partRequests.py (RequestSpec.sanityCheckRequest): Call
sanityCheckMountPoint with new option
diff --git a/iw/lvm_dialog_gui.py b/iw/lvm_dialog_gui.py
index 53e1e5a87..2739300be 100644
--- a/iw/lvm_dialog_gui.py
+++ b/iw/lvm_dialog_gui.py
@@ -793,8 +793,11 @@ class VolumeGroupEditor:
if lvname:
self.logvolstore.set_value(iter, 0, lvname)
- if lv.fstype and lv.fstype.isMountable() and mntpt:
- self.logvolstore.set_value(iter, 1, mntpt)
+ if lv.fstype and lv.fstype.isMountable():
+ if mntpt:
+ self.logvolstore.set_value(iter, 1, mntpt)
+ else:
+ self.logvolstore.set_value(iter, 1, "")
else:
self.logvolstore.set_value(iter, 1, "N/A")