[rhel6-branch] Prevent root-on-xfs (#498002).

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

 



Tested, works for both gui install and ks install. Note that we don't
support XFS at all on i386, just x86_64.
---
 storage/__init__.py |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/storage/__init__.py b/storage/__init__.py
index 4ca4f7a..fb2829d 100644
--- a/storage/__init__.py
+++ b/storage/__init__.py
@@ -963,6 +963,11 @@ class Storage(object):
                             "for a normal %(productName)s install.")
                           % {'min': self.anaconda.backend.getMinimumSizeMB("/"),
                              'productName': productName})
+        
+        if root and root.format.type == "xfs":
+            errors.append(_("Placing the root partition on an XFS "
+                            "filesystem is not supported in %s.") %
+                          productName)
 
         # livecds have to have the rootfs type match up
         if (root and
-- 
1.6.6

_______________________________________________
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