From 52e296bee24b1921e9789b036aca10552aac66f0 Mon Sep 17 00:00:00 2001 From: Le0xFF <43521247+Le0xFF@users.noreply.github.com> Date: Sat, 30 Jul 2022 19:41:38 +0200 Subject: [PATCH] Use sed to edit fstab --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 707a2d5..914e90a 100644 --- a/README.md +++ b/README.md @@ -146,7 +146,7 @@ So after installing `snapper` from Void Linux's repositories and after creating snapper -c root create-config / btrfs subvolume delete /.snapshots mkdir /.snapshots -## edit /etc/fstab uncommenting the line relative to @snapshots subvolume ## +sed -i '/@snapshots/s/^#//' /etc/fstab reboot ```