parent
db4bbde6a1
commit
a199da7aac
@ -55,7 +55,6 @@ FS_MAP = {
|
|||||||
"fat16": "vfat",
|
"fat16": "vfat",
|
||||||
"fat32": "vfat",
|
"fat32": "vfat",
|
||||||
"linuxswap": "swap",
|
"linuxswap": "swap",
|
||||||
"linux-swap": "swap",
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -226,7 +225,7 @@ class FstabGenerator(object):
|
|||||||
|
|
||||||
def generate_fstab_line_info(self, partition):
|
def generate_fstab_line_info(self, partition):
|
||||||
""" Generates information for each fstab entry. """
|
""" Generates information for each fstab entry. """
|
||||||
filesystem = partition["fs"].lower()
|
filesystem = partition["fs"].lower().strip("-")
|
||||||
has_luks = "luksMapperName" in partition
|
has_luks = "luksMapperName" in partition
|
||||||
mount_point = partition["mountPoint"]
|
mount_point = partition["mountPoint"]
|
||||||
disk_name = disk_name_for_partition(partition)
|
disk_name = disk_name_for_partition(partition)
|
||||||
|
Loading…
Reference in New Issue
Block a user