mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-25 00:18:22 -04:00
[fstab] Add comment explaining logic
This commit is contained in:
parent
df3e049e1c
commit
6b838bbf3d
1 changed files with 1 additions and 0 deletions
|
@ -236,6 +236,7 @@ class FstabGenerator(object):
|
|||
libcalamares.utils.debug("Ignoring foreign swap {!s} {!s}".format(disk_name, partition.get("uuid", None)))
|
||||
return None
|
||||
|
||||
# If this is btrfs subvol a dedicated to a swapfile, use different options than a normal btrfs subvol
|
||||
if filesystem == "btrfs" and partition["subvol"] == "/@swap":
|
||||
options = self.get_mount_options("btrfs_swap", mount_point)
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue