hunleyd / btrfs-auto-snapshot

BTRFS Automatic Snapshot Service for Linux
GNU General Public License v2.0
16 stars 4 forks source link

Improve support for snaps starting with ".btrfs/..." #13

Closed ams-tschoening closed 1 year ago

ams-tschoening commented 1 year ago

My own use-case of a BTRFS volume mounted at / without any @ or else wasn't supported anymore. An empty BTRFS subvolume prefix seems to model that best compared to e.g. /var being handled as subvolume name @var internally. This only needs some improvement in making leading slashes optional in some regular expressions etc.

hunleyd commented 1 year ago

any thought on this @mwt before i merge?

mwt commented 1 year ago

any thought on this @mwt before i merge?

No. I don't actually know that much about btrfs mounts 😅

I only set it up on one machine and haven't fiddled with it much after setting everything up.

hunleyd commented 1 year ago

fair enough. thx @mwt @ams-tschoening !