From 7bc9febc25cb62c8549297b07eac94780f490e59 Mon Sep 17 00:00:00 2001 From: Le0xFF <43521247+Le0xFF@users.noreply.github.com> Date: Tue, 26 Jul 2022 22:32:23 +0200 Subject: [PATCH] Put the snapper command directly in the README --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index caa27f7..7d2d287 100644 --- a/README.md +++ b/README.md @@ -140,11 +140,12 @@ Following the script, at the very end your drive will end up being like the foll With this script, the `@snapshots` subvolume will be created, but not the `/.snapshots` folder. This is done to avoid stupid snapper issues when trying to create a configuration for `/`. -So after installing `snapper` from Void Linux's repositories and after [creating a configuration for `/`](https://wiki.archlinux.org/title/Snapper#Creating_a_new_configuration), you have to delete the subvolume that snapper will automatically create. After that create the `/.snapshots` folder and then uncomment the relative line from `/etc/fstab`: +So after installing `snapper` from Void Linux's repositories and after creating a configuration for `/`, you have to delete the subvolume that snapper will automatically create. After that create the `/.snapshots` folder and then uncomment the relative line from `/etc/fstab`: ``` bash # run these commands as root +snapper -c root create-config / btrfs subvolume delete /.snapshots mkdir /.snapshots ## edit /etc/fstab uncommenting the line relative to @snapshots subvolume ##