summaryrefslogtreecommitdiffstats
path: root/fstab.py
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2000-06-30 20:41:48 +0000
committerMatt Wilson <msw@redhat.com>2000-06-30 20:41:48 +0000
commit0020569bd9427484d4fecea103271b119151724b (patch)
treeaf98ee8222007c8de550d10f2d8d09c5c60db367 /fstab.py
parent52d7a86816f4ff0095d2b660baf1f4acdfdf8c97 (diff)
downloadanaconda-0020569bd9427484d4fecea103271b119151724b.tar.gz
anaconda-0020569bd9427484d4fecea103271b119151724b.tar.xz
anaconda-0020569bd9427484d4fecea103271b119151724b.zip
ext3 patch from hj
Diffstat (limited to 'fstab.py')
-rw-r--r--fstab.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/fstab.py b/fstab.py
index 71eec7ccc..9e974ddd5 100644
--- a/fstab.py
+++ b/fstab.py
@@ -656,7 +656,7 @@ class Fstab:
isys.losetup("/tmp/loop1", "/mnt/loophost/redhat.img")
isys.mount("loop1", instPath)
- elif fsystem == "ext2" or \
+ elif fsystem == "ext2" or fsystem == "ext3" or \
(fsystem == "vfat" and mntpoint == "/boot/efi"):
try:
iutil.mkdirChain(instPath + mntpoint)
@@ -972,7 +972,8 @@ def readFstab (path, fstab):
# all valid fstab entries have 6 fields
if len (fields) < 4 or len (fields) > 6: continue
- if fields[2] != "ext2" and fields[2] != "swap": continue
+ if fields[2] != "ext2" and fields[2] != "ext3" and fields[2] != "swap":
+ continue
if string.find(fields[3], "noauto") != -1: continue
# this skips swap files! todo has to put them back for upgrades