Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlenn L McGrath <bug1@ihug.co.nz>2003-01-04 14:56:06 +0300
committerGlenn L McGrath <bug1@ihug.co.nz>2003-01-04 14:56:06 +0300
commit4dcc2ddfccc364826fb6f485a28625df34464b46 (patch)
tree59fe6c1386b57674696abb53f26b138c9d26cd8f /util-linux/Config.in
parent2c24bb80f9f2e226f212c48d600bdf64956fc972 (diff)
fdisk writable feature, allows compilation of a small fdisk that can
only read partition table, by Vladimir N. Oleynik
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.