summaryrefslogtreecommitdiffstats
path: root/fsset.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2002-01-30 21:45:47 +0000
committerJeremy Katz <katzj@redhat.com>2002-01-30 21:45:47 +0000
commit7c71f4c0c3ee9938a2f352ecba1d8c079b492b0e (patch)
treef668f78095b8f3a820c0742a535d9d5ab535aa03 /fsset.py
parented1050aa6c2792618533c9fa14a467c9a413e992 (diff)
downloadanaconda-7c71f4c0c3ee9938a2f352ecba1d8c079b492b0e.tar.gz
anaconda-7c71f4c0c3ee9938a2f352ecba1d8c079b492b0e.tar.xz
anaconda-7c71f4c0c3ee9938a2f352ecba1d8c079b492b0e.zip
mount ext3 as ext3
Diffstat (limited to 'fsset.py')
-rw-r--r--fsset.py16
1 files changed, 0 insertions, 16 deletions
diff --git a/fsset.py b/fsset.py
index 0b3e37d9a..21d44022e 100644
--- a/fsset.py
+++ b/fsset.py
@@ -451,22 +451,6 @@ class ext3FileSystem(extFileSystem):
self.extraFormatArgs = [ "-j" ]
self.partedFileSystemType = parted.file_system_type_get("ext3")
- def mount(self, device, mountpoint, readOnly=0):
- if not self.isMountable():
- return
- iutil.mkdirChain(mountpoint)
- # tricky - mount the filesystem as ext2, it makes the install
- # faster
- try:
- isys.mount(device, mountpoint, fstype = "ext2",
- readOnly = readOnly)
- except OSError:
- isys.mount(device, mountpoint, fstype = "ext3",
- readOnly = readOnly)
- except SystemError:
- isys.mount(device, mountpoint, fstype = "ext3",
- readOnly = readOnly)
-
def formatDevice(self, entry, progress, chroot='/'):
extFileSystem.formatDevice(self, entry, progress, chroot)
extFileSystem.removeForcedFsck(self, entry, progress, chroot)