summaryrefslogtreecommitdiffstats
path: root/fsset.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2008-10-14 11:44:20 -0400
committerChris Lumens <clumens@redhat.com>2008-10-14 11:44:20 -0400
commit13ef1cee38273963bfc74315e7fcae2c460603e8 (patch)
treed82791a3caddd538a74b3409fd0487f3ec2ae68e /fsset.py
parent66122a00d36af3dbea1581fe7990be0053b885ef (diff)
downloadanaconda-13ef1cee38273963bfc74315e7fcae2c460603e8.tar.gz
anaconda-13ef1cee38273963bfc74315e7fcae2c460603e8.tar.xz
anaconda-13ef1cee38273963bfc74315e7fcae2c460603e8.zip
ext4dev -> ext4 (esandeen).
Diffstat (limited to 'fsset.py')
-rw-r--r--fsset.py16
1 files changed, 4 insertions, 12 deletions
diff --git a/fsset.py b/fsset.py
index ea2ac6b11..4522795eb 100644
--- a/fsset.py
+++ b/fsset.py
@@ -689,7 +689,7 @@ class ext3FileSystem(extFileSystem):
self.extraFormatArgs = [ "-t", "ext3" ]
self.partedFileSystemType = parted.file_system_type_get("ext3")
if flags.cmdline.has_key("ext4"):
- self.migratetofs = ['ext4dev']
+ self.migratetofs = ['ext4']
def formatDevice(self, entry, progress, chroot='/'):
extFileSystem.formatDevice(self, entry, progress, chroot)
@@ -701,26 +701,18 @@ class ext3FileSystem(extFileSystem):
if not entry.fsystem or not entry.origfsystem:
raise RuntimeError, ("Trying to migrate fs w/o fsystem or "
"origfsystem set")
- if entry.fsystem.getName() != "ext4dev":
+ if entry.fsystem.getName() != "ext4":
raise RuntimeError, ("Trying to migrate ext3 to something other "
"than ext4")
- # This is only needed as long as ext4 is actually "ext4dev"
- rc = iutil.execWithRedirect("tune2fs",
- ["-E", "test_fs", devicePath ],
- stdout = "/dev/tty5",
- stderr = "/dev/tty5", searchPath = 1)
- if rc:
- raise SystemError
-
fileSystemTypeRegister(ext3FileSystem())
class ext4FileSystem(extFileSystem):
def __init__(self):
extFileSystem.__init__(self)
- self.name = "ext4dev"
+ self.name = "ext4"
self.partedFileSystemType = parted.file_system_type_get("ext3")
- self.extraFormatArgs = [ "-t", "ext4dev" ]
+ self.extraFormatArgs = [ "-t", "ext4" ]
self.bootable = False
# this is way way experimental at present...