$ sudo -i
# SUBVOLUMES=(
home
root
srv
swap
IMPORTANT!!!: Snapshots will not be created when using Discover because:
- Discover uses PackageKit as backend
- PackageKit uses old libdnf (DNF4) as backend
python3-dnf-plugin-snapper
is DNF (not libdnf) plugin so it is skipped
Actions plugin config borrowed from Luan Oliveira (lnvso)
Snapper settings shamelessly stolen from snapper-support
(Garuda Linux)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# shellcheck disable=SC2016,SC2034 | |
set -eEu -o pipefail | |
self="${BASH_SOURCE[0]}" | |
trap 'echo "$self: Error on line $LINENO: $BASH_COMMAND" >&2' ERR | |
IFS=$'\n\t' | |
main() { | |
init | |
local command='' |