[PATCH] Perform ext3->ext4 filesystem migration if ext4migrate is given (#484330).

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

 



---
 fsset.py |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/fsset.py b/fsset.py
index 56eaf21..d1d9726 100644
--- a/fsset.py
+++ b/fsset.py
@@ -720,6 +720,13 @@ class ext3FileSystem(extFileSystem):
             raise RuntimeError, ("Trying to migrate ext3 to something other "
                                  "than ext4")
 
+        rc = iutil.execWithRedirect("tune2fs", ["-O", "extents", devicePath],
+                                    stdout = "/dev/tty5",
+                                    stderr = "/dev/tty5", searchPath = 1)
+
+        if rc:
+            raise SystemError
+
 fileSystemTypeRegister(ext3FileSystem())
 
 class ext4FileSystem(extFileSystem):
-- 
1.6.0.3

_______________________________________________
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