Use Ext4FS for all extended filesystems.
This should eliminate the issues caused by users specifying
that their ext[23] filesystems should be mounted as ext4 as
now they will all share a format class.
Related: rhbz#599119
Related: rhbz#649171
---
pyanaconda/storage/formats/fs.py | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/pyanaconda/storage/formats/fs.py b/pyanaconda/storage/formats/fs.py
index 90d97e7..abd83b8 100644
--- a/pyanaconda/storage/formats/fs.py
+++ b/pyanaconda/storage/formats/fs.py
@@ -1025,7 +1025,7 @@ class Ext2FS(FS):
argv = ["-p", self.device, "%dM" % (self.targetSize,)]
return argv
-register_device_format(Ext2FS)
+#register_device_format(Ext2FS)
class Ext3FS(Ext2FS):
@@ -1037,12 +1037,13 @@ class Ext3FS(Ext2FS):
_defaultMigrateOptions = ["-O", "extents"]
partedSystem = fileSystemType["ext3"]
-register_device_format(Ext3FS)
+#register_device_format(Ext3FS)
class Ext4FS(Ext3FS):
""" ext4 filesystem. """
_type = "ext4"
+ _udevTypes = ["ext2", "ext3"]
_defaultFormatOptions = ["-t", "ext4"]
_migratable = False
_modules = ["ext4"]
--
1.7.3.4
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list