Skip to content

Commit 8d58ab1

Browse files
committed
Fix pre-mounted Btrfs subvolumes root detection
1 parent 4592280 commit 8d58ab1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

archinstall/lib/disk/device_handler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ def get_btrfs_info(
244244
# expected output format:
245245
# ID 257 gen 8 top level 5 path @home
246246
name = Path(line.split(' ')[-1])
247-
sub_vol_mountpoint = btrfs_subvol_info.get(name, None)
247+
sub_vol_mountpoint = btrfs_subvol_info.get('/' / name, None)
248248
subvol_infos.append(_BtrfsSubvolumeInfo(name, sub_vol_mountpoint))
249249

250250
if not lsblk_info.mountpoint:

0 commit comments

Comments
 (0)