@@ -368,7 +368,7 @@ def _mount_partition(self, part_mod: PartitionModification) -> None:
368368 if part_mod .mountpoint :
369369 target = self .target / part_mod .relative_mountpoint
370370 mount (part_mod .dev_path , target , options = part_mod .mount_options )
371- elif part_mod .fs_type == FilesystemType .Btrfs :
371+ elif part_mod .fs_type == FilesystemType .BTRFS :
372372 # Only mount BTRFS subvolumes that have mountpoints specified
373373 subvols_with_mountpoints = [sv for sv in part_mod .btrfs_subvols if sv .mountpoint is not None ]
374374 if subvols_with_mountpoints :
@@ -381,12 +381,12 @@ def _mount_partition(self, part_mod: PartitionModification) -> None:
381381 swapon (part_mod .dev_path )
382382
383383 def _mount_lvm_vol (self , volume : LvmVolume ) -> None :
384- if volume .fs_type != FilesystemType .Btrfs :
384+ if volume .fs_type != FilesystemType .BTRFS :
385385 if volume .mountpoint and volume .dev_path :
386386 target = self .target / volume .relative_mountpoint
387387 mount (volume .dev_path , target , options = volume .mount_options )
388388
389- if volume .fs_type == FilesystemType .Btrfs and volume .dev_path :
389+ if volume .fs_type == FilesystemType .BTRFS and volume .dev_path :
390390 # Only mount BTRFS subvolumes that have mountpoints specified
391391 subvols_with_mountpoints = [sv for sv in volume .btrfs_subvols if sv .mountpoint is not None ]
392392 if subvols_with_mountpoints :
@@ -396,7 +396,7 @@ def _mount_luks_partition(self, part_mod: PartitionModification, luks_handler: L
396396 if not luks_handler .mapper_dev :
397397 return None
398398
399- if part_mod .fs_type == FilesystemType .Btrfs and part_mod .btrfs_subvols :
399+ if part_mod .fs_type == FilesystemType .BTRFS and part_mod .btrfs_subvols :
400400 # Only mount BTRFS subvolumes that have mountpoints specified
401401 subvols_with_mountpoints = [sv for sv in part_mod .btrfs_subvols if sv .mountpoint is not None ]
402402 if subvols_with_mountpoints :
@@ -406,12 +406,12 @@ def _mount_luks_partition(self, part_mod: PartitionModification, luks_handler: L
406406 mount (luks_handler .mapper_dev , target , options = part_mod .mount_options )
407407
408408 def _mount_luks_volume (self , volume : LvmVolume , luks_handler : Luks2 ) -> None :
409- if volume .fs_type != FilesystemType .Btrfs :
409+ if volume .fs_type != FilesystemType .BTRFS :
410410 if volume .mountpoint and luks_handler .mapper_dev :
411411 target = self .target / volume .relative_mountpoint
412412 mount (luks_handler .mapper_dev , target , options = volume .mount_options )
413413
414- if volume .fs_type == FilesystemType .Btrfs and luks_handler .mapper_dev :
414+ if volume .fs_type == FilesystemType .BTRFS and luks_handler .mapper_dev :
415415 # Only mount BTRFS subvolumes that have mountpoints specified
416416 subvols_with_mountpoints = [sv for sv in volume .btrfs_subvols if sv .mountpoint is not None ]
417417 if subvols_with_mountpoints :
@@ -866,7 +866,7 @@ def _prepare_fs_type(
866866 self ._base_packages .append (pkg )
867867
868868 # https://github.com/archlinux/archinstall/issues/1837
869- if fs_type == FilesystemType .Btrfs :
869+ if fs_type == FilesystemType .BTRFS :
870870 self ._disable_fstrim = True
871871
872872 def _prepare_encrypt (self , before : str = 'filesystems' ) -> None :
0 commit comments