Re: [PATCH] 474484 - translate ext4dev -> ext4 in /etc/fstab

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


--
David Cantrell <dcantrell@xxxxxxxxxx>
Red Hat / Honolulu, HI

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux