parent
084a7ea651
commit
bfcfcf7ee3
@ -55,6 +55,7 @@ FS_MAP = {
|
|||||||
"fat16": "vfat",
|
"fat16": "vfat",
|
||||||
"fat32": "vfat",
|
"fat32": "vfat",
|
||||||
"linuxswap": "swap",
|
"linuxswap": "swap",
|
||||||
|
"linux-swap": "swap",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -225,7 +226,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().strip("-")
|
filesystem = partition["fs"].lower()
|
||||||
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