For a brief time, we had ext4dev as the fs type for ext4. That means it'd end up in /etc/fstab. The attached patch makes readFstab understand this possibility and read it as ext4.
- Chris
diff --git a/fsset.py b/fsset.py index bb8b2a2..005c647 100644 --- a/fsset.py +++ b/fsset.py @@ -2873,6 +2873,12 @@ def readFstab (anaconda): fstotry = fstotry.split(",") else: fstotry = [ fstotry ] + + # ext4 used to be listed as ext4dev, so handle that possibility + for i in range(0, len(fstotry)): + if fstotry[i] == "ext4dev": + fstotry[i] = "ext4" + fsystem = None for fs in fstotry: # if we don't support mounting the filesystem, continue
Looks good.
Chris Lumens wrote:
For a brief time, we had ext4dev as the fs type for ext4. That means it'd end up in /etc/fstab. The attached patch makes readFstab understand this possibility and read it as ext4.
- Chris
diff --git a/fsset.py b/fsset.py index bb8b2a2..005c647 100644 --- a/fsset.py +++ b/fsset.py @@ -2873,6 +2873,12 @@ def readFstab (anaconda): fstotry = fstotry.split(",") else: fstotry = [ fstotry ]
# ext4 used to be listed as ext4dev, so handle that possibility
for i in range(0, len(fstotry)):
if fstotry[i] == "ext4dev":
fstotry[i] = "ext4"
fsystem = None for fs in fstotry: # if we don't support mounting the filesystem, continue
Anaconda-devel-list mailing list Anaconda-devel-list@redhat.com https://www.redhat.com/mailman/listinfo/anaconda-devel-list
anaconda-devel@lists.fedoraproject.org