apt-btrfs-snapshot doesn't support my system, even though my root partition is Btrfs
Go to solution
Solved by YamiYukiSenpai,
SOLVED
I found the reason:
UUID=5478d0cc-e982-4347-a7e1-040d1c432850 / btrfs subvol=@,space_cache=v2,compress=zstd:3,defaults 0 1
By default (and originally), the option is subvol=/@
. Changing it to subvol=@
solved it!
This pointed me to the cause in /usr/lib/python3/dist-packages/apt_btrfs_snapshot.py
:
def _get_supported_btrfs_root_fstab_entry(self):
""" return the supported btrfs root FstabEntry or None """
for entry in self.fstab:
if (
entry.mountpoint == "/" and
entry.fstype == "btrfs" and
"subvol=@" in entry.options):
return entry
return None
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now