mirror of
https://github.com/Le0xFF/VoidLinuxInstaller.git
synced 2024-09-11 18:47:17 +03:00
Put the snapper command directly in the README
This commit is contained in:
parent
e4d5743b5c
commit
7bc9febc25
@ -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 `/`.
|
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
|
``` bash
|
||||||
# run these commands as root
|
# run these commands as root
|
||||||
|
|
||||||
|
snapper -c root create-config /
|
||||||
btrfs subvolume delete /.snapshots
|
btrfs subvolume delete /.snapshots
|
||||||
mkdir /.snapshots
|
mkdir /.snapshots
|
||||||
## edit /etc/fstab uncommenting the line relative to @snapshots subvolume ##
|
## edit /etc/fstab uncommenting the line relative to @snapshots subvolume ##
|
||||||
|
Loading…
Reference in New Issue
Block a user