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

[PATCH 5/5] Stop overriding ext[234] filesystem defaults.



If this stuff should be on these filesystems, make it the default.
Decisions like this are not for us to make.

Related: rhbz#649089
---
 pyanaconda/storage/formats/fs.py |   16 ----------------
 1 files changed, 0 insertions(+), 16 deletions(-)

diff --git a/pyanaconda/storage/formats/fs.py b/pyanaconda/storage/formats/fs.py
index 6f136fc..d65bdd0 100644
--- a/pyanaconda/storage/formats/fs.py
+++ b/pyanaconda/storage/formats/fs.py
@@ -934,25 +934,9 @@ class Ext2FS(FS):
             return
 
         FS.doMigrate(self, intf=intf)
-        self.tuneFS()
 
     def doFormat(self, *args, **kwargs):
         FS.doFormat(self, *args, **kwargs)
-        self.tuneFS()
-
-    def tuneFS(self):
-        if not isys.ext2HasJournal(self.device):
-            # only do this if there's a journal
-            return
-
-        try:
-            rc = iutil.execWithRedirect("tune2fs",
-                                        ["-c0", "-i0",
-                                         "-ouser_xattr,acl", self.device],
-                                        stdout = "/dev/tty5",
-                                        stderr = "/dev/tty5")
-        except Exception as e:
-            log.error("failed to run tune2fs on %s: %s" % (self.device, e))
 
     def writeRandomUUID(self):
         if not self.exists:
-- 
1.7.3.4


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