You are not logged in.

#1 2022-11-13 16:18:08

D3vil0p3r
Member
Registered: 2022-11-05
Posts: 205

Snapper - Suppressing "Found Snapshot" message in terminal

Hello,
I have a simple question about Snapper. In some Arch-based distro (as Garuda Linux) I see that, when a package is installed or removed, in the terminal there is only a message like the following about the snapper snapshots:

(1/1) Performing snapper pre snapshots for the following configurations...
==> root: 200

and

(1/1) Performing snapper post snapshots for the following configurations...
==> root: 201

In my Arch Linux pure machine, when I install a package, I get also messages like:

Detecting snapshots ...
Found snapshot: 2022-11-13 18:12:55 | @/.snapshots/200/snapshot | pre    | pacman -S vim                                                            |
Found snapshot: 2022-11-13 18:00:15 | @/.snapshots/199/snapshot | post   | vim                                                                      |
Found snapshot: 2022-11-13 18:00:10 | @/.snapshots/198/snapshot | pre    | pacman -S vim                                                            |
Found snapshot: 2022-11-13 18:00:06 | @/.snapshots/197/snapshot | post   | vim                                                                      |
Found snapshot: 2022-11-13 17:59:56 | @/.snapshots/196/snapshot | pre    | pacman -R vim                                                            |
Found snapshot: 2022-11-13 17:59:50 | @/.snapshots/195/snapshot | post   | vim                                                                      |
Found snapshot: 2022-11-13 17:59:46 | @/.snapshots/194/snapshot | pre    | pacman -S vim                                                            |
Found snapshot: 2022-11-13 17:59:41 | @/.snapshots/193/snapshot | post   | vim                                                                      |
Found snapshot: 2022-11-13 17:59:31 | @/.snapshots/192/snapshot | pre    | pacman -S vim                                                            |
.... and so on

Is there a way to suppress these "Found snapshot" messages?

Offline

#2 2022-11-14 19:51:56

D3vil0p3r
Member
Registered: 2022-11-05
Posts: 205

Re: Snapper - Suppressing "Found Snapshot" message in terminal

Found the solution: those messages are coming from grub-btrfs. Just change setting GRUB_BTRFS_SHOW_SNAPSHOTS_FOUND on /etc/default/grub-btrfs/config.

Last edited by D3vil0p3r (2022-11-14 19:52:11)

Offline

Board footer

Powered by FluxBB