FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > CentOS > CentOS

 
 
LinkBack Thread Tools
 
Old 09-02-2011, 06:32 PM
David Lehman
 
Default 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
 

Thread Tools




All times are GMT. The time now is 09:01 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org