diff options
author | Radek Vykydal <rvykydal@redhat.com> | 2008-10-14 12:10:25 +0200 |
---|---|---|
committer | Radek Vykydal <rvykydal@redhat.com> | 2008-10-14 12:10:25 +0200 |
commit | d0633210261e1d7ff9ee8d217215e5932c74cbae (patch) | |
tree | a7784a3c4834afb15b13f0eb0951a725fe0b03f1 | |
parent | b2951a2cffce3e30c98bd956d026eddb4a9e3ea2 (diff) | |
download | anaconda-d0633210261e1d7ff9ee8d217215e5932c74cbae.tar.gz anaconda-d0633210261e1d7ff9ee8d217215e5932c74cbae.tar.xz anaconda-d0633210261e1d7ff9ee8d217215e5932c74cbae.zip |
Fix detection of ext4/ext4dev root partitions in rescue (#466868).
ext4/ext4dev was detected only on lvm or raid or encrypted
partitions.
-rw-r--r-- | partedUtils.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/partedUtils.py b/partedUtils.py index 6a8fa6343..77b8511ca 100644 --- a/partedUtils.py +++ b/partedUtils.py @@ -866,6 +866,10 @@ class DiskSet: if part.fs_type: fstype = part.fs_type.name + # parted doesn't tell ext4/ext4dev from ext3 for us + if fstype == "ext3": + fstype = sniffFilesystemType("/dev/%s" % theDev) + if crypto and not crypto.openDevice(): theDev = crypto.getDevice() fstype = sniffFilesystemType("/dev/%s" % theDev) |