From 311ace56f14a6dfaa36e03dbbd6eb0c834712b04 Mon Sep 17 00:00:00 2001 From: Michel Le Cocq Date: Wed, 24 Jun 2020 08:34:47 +0200 Subject: [PATCH] --- encrypt-swap-Ubuntu-20.04.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/encrypt-swap-Ubuntu-20.04.md b/encrypt-swap-Ubuntu-20.04.md index 48522bb..15d9dc1 100644 --- a/encrypt-swap-Ubuntu-20.04.md +++ b/encrypt-swap-Ubuntu-20.04.md @@ -30,13 +30,13 @@ cryptsetup open /dev/nvme0n1p2 cryptswap mkswap /dev/mapper/cryptswap ~~~ -* ajust /etc/fstab to use your mapper, replace your encrypt swap device like bellow : +* ajust **/etc/fstab** to use your mapper, replace your encrypt swap device like bellow : ~~~ /dev/mapper/cryptswap none swap discard 0 0 ~~~ -* add your encrypt swap device define in /etc/crypttab +* add your encrypt swap device define in **/etc/crypttab** ~~~ cryptswap /dev/nvme0n1p2 none luks @@ -48,7 +48,7 @@ cryptswap /dev/nvme0n1p2 none luks swapon -a ~~~ -* edit /etc/initramfs-tools/conf.d/resume. Replace the existing RESUME line with the following line. +* edit **/etc/initramfs-tools/conf.d/resume**. Replace the existing **RESUME** line with the following line. ~~~ printf "RESUME=UUID=/dev/mapper/cryptswap" | tee /etc/initramfs-tools/conf.d/resume