Switch from unencrypted swap partition directly on device to encrypted swap partition via device mapper and dm-crypt.
This commit is contained in:
parent
5c10ed8170
commit
6aa7f4876b
@ -4,7 +4,7 @@
|
|||||||
# Copyright 2023 Jake Winters
|
# Copyright 2023 Jake Winters
|
||||||
# SPDX-License-Identifier: BSD-3-Clause-Clear
|
# 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.
|
# The root filesystem should have a pass number of either 0 or 1.
|
||||||
@ -15,7 +15,7 @@
|
|||||||
## boot
|
## boot
|
||||||
PARTUUID=[REDACTED] /boot/ ext4 noauto,noatime 1 2
|
PARTUUID=[REDACTED] /boot/ ext4 noauto,noatime 1 2
|
||||||
## swap
|
## swap
|
||||||
/dev/nvme0n1p2 none swap defaults 0 0
|
/dev/mapper/swap none swap defaults 0 0
|
||||||
## root
|
## root
|
||||||
UUID=[REDACTED] / btrfs acl,barrier,datacow,datasum 0 1
|
UUID=[REDACTED] / btrfs acl,barrier,datacow,datasum 0 1
|
||||||
## home
|
## home
|
||||||
|
Loading…
x
Reference in New Issue
Block a user