Re: [PATCH] Require a format to have a mountpoint before testing for RO (#565879).

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 02/16/2010 05:47 PM, Chris Lumens wrote:
Otherwise, we traceback trying to mount /mnt/sysimage/None or something
stupid like that.
---
  storage/__init__.py |    1 +
  1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/storage/__init__.py b/storage/__init__.py
index e23e826..4e3bbf7 100644
--- a/storage/__init__.py
+++ b/storage/__init__.py
@@ -1734,6 +1734,7 @@ class FSSet(object):
          space = []
          for device in self.devices:
              if not device.format.mountable or \
+               not device.format.mountpoint or \
                 not device.format.status:
                  continue


Ack.

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux