Because the usage of grep -f, each line inside /etc/snazzer/exclude.patterns currently behaves like it would have been surrounded by _-globs, making tmp essentially the same as _tmp*.
This is an issue e.g. because you can't exclude parent subvolume without excluding all child subvolumes as well: In my setup, /home/florian is a subvolume I want to snapshot, but /home is also a subvolume to be able to mount all home directories with a single mount command, but I don't want /home to be snapshotted. With the current globbing, it's impossible to exclude /home without excluding /home/florian as well.
Because the usage of grep -f, each line inside
/etc/snazzer/exclude.patterns
currently behaves like it would have been surrounded by _-globs, makingtmp
essentially the same as_tmp*
.This is an issue e.g. because you can't exclude parent subvolume without excluding all child subvolumes as well: In my setup,
/home/florian
is a subvolume I want to snapshot, but/home
is also a subvolume to be able to mount all home directories with a single mount command, but I don't want/home
to be snapshotted. With the current globbing, it's impossible to exclude/home
without excluding/home/florian
as well.