Switch from unencrypted swap partition directly on device to encrypted swap partition via device mapper and dm-crypt.

This commit is contained in:
inference 2023-03-07 00:24:25 +00:00
parent 5c10ed8170
commit 6aa7f4876b
Signed by: inference
SSH Key Fingerprint: SHA256:9Pl0nZ2UJacgm+IeEtLSZ4FOESgP1eKCtRflfPfdX9M

View File

@ -4,7 +4,7 @@
# Copyright 2023 Jake Winters
# SPDX-License-Identifier: BSD-3-Clause-Clear
# Version: 0.0.0.0
# Version: 1.0.0.1
# The root filesystem should have a pass number of either 0 or 1.
@ -15,7 +15,7 @@
## boot
PARTUUID=[REDACTED] /boot/ ext4 noauto,noatime 1 2
## swap
/dev/nvme0n1p2 none swap defaults 0 0
/dev/mapper/swap none swap defaults 0 0
## root
UUID=[REDACTED] / btrfs acl,barrier,datacow,datasum 0 1
## home