[PATCH] Allow ext4 without magic argument (keep a flag for migrate)

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

 



ext4 should be safe enough to allow people to select it without a magic flag
---
 fsset.py |    9 +--------
 1 files changed, 1 insertions(+), 8 deletions(-)

diff --git a/fsset.py b/fsset.py
index 3472b94..3972094 100644
--- a/fsset.py
+++ b/fsset.py
@@ -694,7 +694,7 @@ class ext3FileSystem(extFileSystem):
         self.name = "ext3"
         self.extraFormatArgs = [ "-t", "ext3" ]
         self.partedFileSystemType = parted.file_system_type_get("ext3")
-        if flags.cmdline.has_key("ext4"):
+        if flags.cmdline.has_key("ext4migrate"):
             self.migratetofs = ['ext4']
 
     def formatDevice(self, entry, progress, chroot='/'):
@@ -721,13 +721,6 @@ class ext4FileSystem(extFileSystem):
         self.extraFormatArgs = [ "-t", "ext4" ]
         self.bootable = False
 
-        # this is way way experimental at present...
-        if flags.cmdline.has_key("ext4"):
-            self.supported = -1
-        else:
-            self.supported = 0
-
-
     def formatDevice(self, entry, progress, chroot='/'):
         extFileSystem.formatDevice(self, entry, progress, chroot)
         extFileSystem.setExt3Options(self, entry, progress, chroot)
-- 
1.6.1

_______________________________________________
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