Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib/disk/user_guides.py
diff options
context:
space:
mode:
authorDylan M. Taylor <dylan@dylanmtaylor.com>2021-11-22 15:08:41 -0500
committerGitHub <noreply@github.com>2021-11-22 21:08:41 +0100
commite532b7615813e72fe576c20eaf4cd988e9ef8729 (patch)
tree80af0c3add14876da11fda01355cb6bc69b0bcc9 /archinstall/lib/disk/user_guides.py
parent0c96ae049dd188c0df247c29ea36715e92428d3a (diff)
Make NTFS an advanced option (#753)
* Make NTFS an advanced option
Diffstat (limited to 'archinstall/lib/disk/user_guides.py')
-rw-r--r--archinstall/lib/disk/user_guides.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/archinstall/lib/disk/user_guides.py b/archinstall/lib/disk/user_guides.py
index a7d9a6e5..b1a81ded 100644
--- a/archinstall/lib/disk/user_guides.py
+++ b/archinstall/lib/disk/user_guides.py
@@ -2,11 +2,11 @@ import logging
from .helpers import sort_block_devices_based_on_performance, select_largest_device, select_disk_larger_than_or_close_to
from ..output import log
-def suggest_single_disk_layout(block_device, default_filesystem=None):
+def suggest_single_disk_layout(block_device, default_filesystem=None, advanced_options=False):
if not default_filesystem:
from ..user_interaction import ask_for_main_filesystem_format
- default_filesystem = ask_for_main_filesystem_format()
-
+ default_filesystem = ask_for_main_filesystem_format(advanced_options)
+
MIN_SIZE_TO_ALLOW_HOME_PART = 40 # Gb
using_subvolumes = False
@@ -89,10 +89,10 @@ def suggest_single_disk_layout(block_device, default_filesystem=None):
return layout
-def suggest_multi_disk_layout(block_devices, default_filesystem=None):
+def suggest_multi_disk_layout(block_devices, default_filesystem=None, advanced_options=False):
if not default_filesystem:
from ..user_interaction import ask_for_main_filesystem_format
- default_filesystem = ask_for_main_filesystem_format()
+ default_filesystem = ask_for_main_filesystem_format(advanced_options)
# Not really a rock solid foundation of information to stand on, but it's a start:
# https://www.reddit.com/r/btrfs/comments/m287gp/partition_strategy_for_two_physical_disks/