index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | archinstall/lib/disk/device_model.py | 10 |
diff --git a/archinstall/lib/disk/device_model.py b/archinstall/lib/disk/device_model.py index 28ee3116..6eeb0d91 100644 --- a/archinstall/lib/disk/device_model.py +++ b/archinstall/lib/disk/device_model.py @@ -412,12 +412,18 @@ class SubvolumeModification: mountpoint = Path(entry['mountpoint']) if entry['mountpoint'] else None + compress = entry.get('compress', False) + nodatacow = entry.get('nodatacow', False) + + if compress and nodatacow: + raise ValueError('compress and nodatacow flags cannot be enabled simultaneously on a btfrs subvolume') + mods.append( SubvolumeModification( entry['name'], mountpoint, - entry.get('compress', False), - entry.get('nodatacow', False) + compress, + nodatacow ) ) |