docs(script): Expand ZFS output example (#1)

This commit is contained in:
hygienic-books 2023-03-07 01:43:35 +01:00
parent c6bd627b4a
commit 42cb32ea83

View File

@ -40,20 +40,20 @@ Snapshots may look like so:
```
$ zfs list -o name -t all
NAME ┌─── Important because systemd
zpool | is on our list of
zpool/root | important packages
zpool/root/archlinux ▼▼▼
zpool snap_date_format='%F-%H%M' | is on our list of
zpool/root | important packages
zpool/root/archlinux ┌─────────────┐ ▼▼▼
zpool/root/archlinux@pacman_2023-03-07-0113_op:upgr_sev:imp_pkgs:systemd:bind:enchant:grep
zpool/root/archlinux@pacman_2023-03-07-0113_op:upgr_sev:trv_pkgs:jdk17-temurin
zpool/root/archlinux@pacman_2023-03-07-0115_op:upgr_sev:trv_pkgs:proton-ge-custom-bin
▲▲▲▲ ▲▲▲
| |
Pacman operation that triggered this snapshot ───┘ |
|
▲▲▲▲ ▲▲▲ └────────────────────────────┘
| | Max. 30 characters per our
Pacman operation that triggered this snapshot ───┘ | pacman-zfs-snapshot.conf
| setting 'pkgs_list_max_length'
Severity based on affected packages, here trivial ───────┘
```
You may optionally include more ZFS datasets in this snapshot mechanism. Have a look at `pacman-zfs-snapshot.conf`, its comments should be clear enough to get you going.
Have a look at `pacman-zfs-snapshot.conf` as well, its comments should be clear enough to get you going.
# Development