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

[PATCH 1/3] Remove support for the ext4migrate option (#712195).



Use of the ext4migrate option results in unsupported ext4 filesystems.
Prevent users from migrating existing ext3 filesystems to ext4 during
installation.
---
 docs/command-line.txt |    3 ---
 storage/formats/fs.py |    9 +--------
 2 files changed, 1 insertions(+), 11 deletions(-)

diff --git a/docs/command-line.txt b/docs/command-line.txt
index 4723264..96f8cb2 100644
--- a/docs/command-line.txt
+++ b/docs/command-line.txt
@@ -46,9 +46,6 @@
 ;<code>ethtool=<opts></code>
 : Specify certain additional network device settings.  Valid options are duplex={full,half} and speed={1000,100,10}.  Multiple options may be given as a string separated by spaces and surrounded by double quotes.
 
-;<code>ext4migrate</code>
-: In Fedora 11 or above, configure the system to mount ext3 partitions as ext4 and enable the extents format among other changes. 
-
 ;<code>gateway=<gw></code>
 : Gateway to use for a network installation.
 
diff --git a/storage/formats/fs.py b/storage/formats/fs.py
index 74d66f7..d005698 100644
--- a/storage/formats/fs.py
+++ b/storage/formats/fs.py
@@ -1043,18 +1043,11 @@ class Ext3FS(Ext2FS):
     """ ext3 filesystem. """
     _type = "ext3"
     _defaultFormatOptions = ["-t", "ext3"]
-    _migrationTarget = "ext4"
+    _migratable = False
     _modules = ["ext3"]
     _defaultMigrateOptions = ["-O", "extents"]
     partedSystem = fileSystemType["ext3"]
 
-    def _isMigratable(self):
-        """ Can filesystems of this type be migrated? """
-        return (flags.cmdline.has_key("ext4migrate") and
-                Ext2FS._isMigratable(self))
-
-    migratable = property(_isMigratable)
-
 register_device_format(Ext3FS)
 
 
-- 
1.7.1


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