I want to exclude my ~/.cache directory from snapshots. The obvious
way to do this is to mount a btrfs subvolume at that location.
However, I also want the ~/.cache directory to be nodatacow. Since the
parent volume is COW, I believe it isn't possible to mount the
subvolume with different mount options.
What's the solution for achieving both of these goals?
I tried this without success:
chattr +C ~/.cache
Since ~/.cache is a btrfs subvolume, apparently that doesn't work.
lsattr ~/.cache
returns nothing.
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html