check the drives filesystem and only use snapper on btrfs#2936
check the drives filesystem and only use snapper on btrfs#2936ecruzolivera wants to merge 1 commit intobasecamp:masterfrom
Conversation
|
Hi @ryanrhughes, just a friendly reminder of this. |
|
@ecruzolivera What's the issue this solves exactly? If you don't have btrfs for a drive, it won't have a snapper config so it'd already be ignored unless I'm misunderstanding. |
Hello, this script will limit snapper to only be called on btrfs partitions. I have two drives, one for And therefore the script will fail when trying to snap an ext4 partition. My script will check if the partition is Btrfs before trying to snap it Please let me know if I was able to explain myself properly. |
Hi, in my setup I have two drives, one
btrfsfor root and anotherext4forhome, the currentomarchy-snapshotscript assumes that all drives are Btrfs.