Merge pull request #759 from Psy-Kai/master
Fix unknown partition-type Fat32 at mount and in fstab
This commit is contained in:
commit
c9c4e4d064
@ -224,7 +224,7 @@ class FstabGenerator(object):
|
||||
|
||||
def generate_fstab_line_info(self, partition):
|
||||
""" Generates information for each fstab entry. """
|
||||
filesystem = partition["fs"]
|
||||
filesystem = partition["fs"].lower()
|
||||
mount_point = partition["mountPoint"]
|
||||
disk_name = disk_name_for_partition(partition)
|
||||
is_ssd = disk_name in self.ssd_disks
|
||||
|
@ -38,7 +38,7 @@ def mount_partitions(root_mount_point, partitions):
|
||||
# Create mount point with `+` rather than `os.path.join()` because
|
||||
# `partition["mountPoint"]` starts with a '/'.
|
||||
mount_point = root_mount_point + partition["mountPoint"]
|
||||
fstype = partition.get("fs", "")
|
||||
fstype = partition.get("fs", "").lower()
|
||||
|
||||
if fstype == "fat16" or fstype == "fat32":
|
||||
fstype = "vfat"
|
||||
|
Loading…
Reference in New Issue
Block a user