diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | iw/lvm_dialog_gui.py | 7 |
2 files changed, 9 insertions, 2 deletions
@@ -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") |