update
This commit is contained in:
parent
68b92700c9
commit
6d57ff8c16
1 changed files with 12 additions and 4 deletions
16
README.md
16
README.md
|
|
@ -21,13 +21,14 @@ scripts are located at `/usr/share/libalpm/hooks.bin/snap-pac`.
|
||||||
## Configuration
|
## Configuration
|
||||||
|
|
||||||
The configuration file is located at `/etc/snap-pac.conf`. There you can choose
|
The configuration file is located at `/etc/snap-pac.conf`. There you can choose
|
||||||
which snapper configurations of which to take snapshots, the descriptions used
|
which snapper configurations, descriptions, and cleanup algorithm to use.
|
||||||
for the snapshots, and the snapper algorithm to use. Changing the file should be
|
Changing the file should be self-explanatory. The defaults should be sufficient
|
||||||
self-explanatory. The defaults should be sufficient for most users.
|
for most users.
|
||||||
|
|
||||||
By default, the snapshots are set up to use snapper's `number` algorithm.
|
By default, the snapshots are set up to use snapper's `number` algorithm.
|
||||||
Additionally, by default, snapshots are only taken of the subvolume
|
Additionally, by default, snapshots are only taken of the subvolume
|
||||||
corresponding with the `root` snapper configuration.
|
corresponding with the `root` snapper configuration. Descriptions are of the
|
||||||
|
pacman command that initiated the snapshots.
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
|
|
@ -47,6 +48,13 @@ snapshots.
|
||||||
To undo changes from a pacman transaction, use `snapper undochange`. See the
|
To undo changes from a pacman transaction, use `snapper undochange`. See the
|
||||||
snapper manpage and the following example.
|
snapper manpage and the following example.
|
||||||
|
|
||||||
|
If you have severe breakage—like snapper is gone for some reason and you can't
|
||||||
|
get it back—you'll have to resort to more extreme methods, such as taking a
|
||||||
|
snapshot of the pre snapshot and making it the default subvolume or mounting it
|
||||||
|
as `/`. Most likely you'll need to use a live USB to get into a chroot
|
||||||
|
environment to do any of these things. The exact procedure depends on your
|
||||||
|
specific setup. Be careful.
|
||||||
|
|
||||||
## Example
|
## Example
|
||||||
|
|
||||||
Installing the `nano` package as normal:
|
Installing the `nano` package as normal:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue