Fix pre-mounted Btrfs subvolumes root detection (#3014)
This commit is contained in:
parent
4592280baa
commit
3716df9bb7
|
|
@ -244,7 +244,7 @@ class DeviceHandler:
|
|||
# expected output format:
|
||||
# ID 257 gen 8 top level 5 path @home
|
||||
name = Path(line.split(' ')[-1])
|
||||
sub_vol_mountpoint = btrfs_subvol_info.get(name, None)
|
||||
sub_vol_mountpoint = btrfs_subvol_info.get('/' / name, None)
|
||||
subvol_infos.append(_BtrfsSubvolumeInfo(name, sub_vol_mountpoint))
|
||||
|
||||
if not lsblk_info.mountpoint:
|
||||
|
|
|
|||
Loading…
Reference in New Issue