@@ -369,7 +369,7 @@ def _mount_partition(self, part_mod: PartitionModification) -> None:
369369 if part_mod .mountpoint :
370370 target = self .target / part_mod .relative_mountpoint
371371 mount (part_mod .dev_path , target , options = part_mod .mount_options )
372- elif part_mod .fs_type == FilesystemType .Btrfs :
372+ elif part_mod .fs_type == FilesystemType .BTRFS :
373373 # Only mount BTRFS subvolumes that have mountpoints specified
374374 subvols_with_mountpoints = [sv for sv in part_mod .btrfs_subvols if sv .mountpoint is not None ]
375375 if subvols_with_mountpoints :
@@ -382,12 +382,12 @@ def _mount_partition(self, part_mod: PartitionModification) -> None:
382382 swapon (part_mod .dev_path )
383383
384384 def _mount_lvm_vol (self , volume : LvmVolume ) -> None :
385- if volume .fs_type != FilesystemType .Btrfs :
385+ if volume .fs_type != FilesystemType .BTRFS :
386386 if volume .mountpoint and volume .dev_path :
387387 target = self .target / volume .relative_mountpoint
388388 mount (volume .dev_path , target , options = volume .mount_options )
389389
390- if volume .fs_type == FilesystemType .Btrfs and volume .dev_path :
390+ if volume .fs_type == FilesystemType .BTRFS and volume .dev_path :
391391 # Only mount BTRFS subvolumes that have mountpoints specified
392392 subvols_with_mountpoints = [sv for sv in volume .btrfs_subvols if sv .mountpoint is not None ]
393393 if subvols_with_mountpoints :
@@ -397,7 +397,7 @@ def _mount_luks_partition(self, part_mod: PartitionModification, luks_handler: L
397397 if not luks_handler .mapper_dev :
398398 return None
399399
400- if part_mod .fs_type == FilesystemType .Btrfs and part_mod .btrfs_subvols :
400+ if part_mod .fs_type == FilesystemType .BTRFS and part_mod .btrfs_subvols :
401401 # Only mount BTRFS subvolumes that have mountpoints specified
402402 subvols_with_mountpoints = [sv for sv in part_mod .btrfs_subvols if sv .mountpoint is not None ]
403403 if subvols_with_mountpoints :
@@ -407,12 +407,12 @@ def _mount_luks_partition(self, part_mod: PartitionModification, luks_handler: L
407407 mount (luks_handler .mapper_dev , target , options = part_mod .mount_options )
408408
409409 def _mount_luks_volume (self , volume : LvmVolume , luks_handler : Luks2 ) -> None :
410- if volume .fs_type != FilesystemType .Btrfs :
410+ if volume .fs_type != FilesystemType .BTRFS :
411411 if volume .mountpoint and luks_handler .mapper_dev :
412412 target = self .target / volume .relative_mountpoint
413413 mount (luks_handler .mapper_dev , target , options = volume .mount_options )
414414
415- if volume .fs_type == FilesystemType .Btrfs and luks_handler .mapper_dev :
415+ if volume .fs_type == FilesystemType .BTRFS and luks_handler .mapper_dev :
416416 # Only mount BTRFS subvolumes that have mountpoints specified
417417 subvols_with_mountpoints = [sv for sv in volume .btrfs_subvols if sv .mountpoint is not None ]
418418 if subvols_with_mountpoints :
@@ -867,7 +867,7 @@ def _prepare_fs_type(
867867 self ._base_packages .append (pkg )
868868
869869 # https://github.com/archlinux/archinstall/issues/1837
870- if fs_type == FilesystemType .Btrfs :
870+ if fs_type == FilesystemType .BTRFS :
871871 self ._disable_fstrim = True
872872
873873 def _prepare_encrypt (self , before : str = 'filesystems' ) -> None :
0 commit comments