aboutsummaryrefslogtreecommitdiff
path: root/util-linux/Config.in
diff options
context:
space:
mode:
Diffstat (limited to 'util-linux/Config.in')
-rw-r--r--util-linux/Config.in18
1 files changed, 13 insertions, 5 deletions
diff --git a/util-linux/Config.in b/util-linux/Config.in
index 0c84c77af..2494e6e1c 100644
--- a/util-linux/Config.in
+++ b/util-linux/Config.in
@@ -44,38 +44,46 @@ config CONFIG_FDISK
help
Please submit a patch to add help text for this item.
+config CONFIG_FEATURE_FDISK_WRITABLE
+ bool " Write support"
+ default y
+ depends on CONFIG_FDISK
+ help
+ Allow changes to be written to disk, without this you
+ will only be able to view the partition table.
+
config CONFIG_FEATURE_AIX_LABEL
bool " Support AIX disklabels"
default n
- depends on CONFIG_FDISK
+ depends on CONFIG_FDISK && CONFIG_FEATURE_FDISK_WRITABLE
help
Please submit a patch to add help text for this item.
config CONFIG_FEATURE_SGI_LABEL
bool " Support SGI disklabels"
default n
- depends on CONFIG_FDISK
+ depends on CONFIG_FDISK && CONFIG_FEATURE_FDISK_WRITABLE
help
Please submit a patch to add help text for this item.
config CONFIG_FEATURE_SUN_LABEL
bool " Support SUN disklabels"
default n
- depends on CONFIG_FDISK
+ depends on CONFIG_FDISK && CONFIG_FEATURE_FDISK_WRITABLE
help
Please submit a patch to add help text for this item.
config CONFIG_FEATURE_OSF_LABEL
bool " Support BSD disklabels"
default n
- depends on CONFIG_FDISK
+ depends on CONFIG_FDISK && CONFIG_FEATURE_FDISK_WRITABLE
help
Please submit a patch to add help text for this item.
config CONFIG_FEATURE_FDISK_ADVANCED
bool " Support expert mode"
default n
- depends on CONFIG_FDISK
+ depends on CONFIG_FDISK && CONFIG_FEATURE_FDISK_WRITABLE
help
Please submit a patch to add help text for this item.