linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] FILESYSTEMS: Make "advanced partitions" immediately unselectable.
@ 2008-07-26 13:20 Robert P. J. Day
  2008-07-26 16:47 ` Randy Dunlap
  0 siblings, 1 reply; 19+ messages in thread
From: Robert P. J. Day @ 2008-07-26 13:20 UTC (permalink / raw)
  To: Linux Kernel Mailing List; +Cc: Andrew Morton


Use "menuconfig" to allow all advanced partitions to be deselectable
from the top-level FS menu.

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>

---

 fs/Kconfig            |    4 ----
 fs/partitions/Kconfig |    9 +++++++--
 2 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/fs/Kconfig b/fs/Kconfig
index 37db79a..f06241f 100644
--- a/fs/Kconfig
+++ b/fs/Kconfig
@@ -2143,11 +2143,7 @@ config 9P_FS
 endif # NETWORK_FILESYSTEMS

 if BLOCK
-menu "Partition Types"
-
 source "fs/partitions/Kconfig"
-
-endmenu
 endif

 source "fs/nls/Kconfig"
diff --git a/fs/partitions/Kconfig b/fs/partitions/Kconfig
index cb5f0a3..4bb87d2 100644
--- a/fs/partitions/Kconfig
+++ b/fs/partitions/Kconfig
@@ -1,8 +1,9 @@
 #
 # Partition configuration
 #
-config PARTITION_ADVANCED
-	bool "Advanced partition selection"
+
+menuconfig PARTITION_ADVANCED
+	bool "Advanced partition support"
 	help
 	  Say Y here if you would like to use hard disks under Linux which
 	  were partitioned under an operating system running on a different
@@ -14,6 +15,8 @@ config PARTITION_ADVANCED

 	  If unsure, say N.

+if PARTITION_ADVANCED
+
 config ACORN_PARTITION
 	bool "Acorn partition support" if PARTITION_ADVANCED
 	default y if ARCH_ACORN
@@ -249,3 +252,5 @@ config SYSV68_PARTITION
 	  partition table format used by Motorola Delta machines (using
 	  sysv68).
 	  Otherwise, say N.
+
+endif # PARTITION_ADVANCED

========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry:
    Have classroom, will lecture.

http://crashcourse.ca                          Waterloo, Ontario, CANADA
========================================================================

^ permalink raw reply related	[flat|nested] 19+ messages in thread
[parent not found: <aTS0O-4U1-33@gated-at.bofh.it>]

end of thread, other threads:[~2008-08-02 21:12 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-07-26 13:20 [PATCH] FILESYSTEMS: Make "advanced partitions" immediately unselectable Robert P. J. Day
2008-07-26 16:47 ` Randy Dunlap
2008-07-26 21:52   ` Robert P. J. Day
2008-07-28  3:11     ` Calvin Walton
2008-07-28  9:38       ` Robert P. J. Day
2008-07-28 17:37         ` Randy Dunlap
2008-07-28 18:14           ` Robert P. J. Day
2008-07-28 18:42           ` Robert P. J. Day
2008-07-28 18:51             ` Randy Dunlap
2008-07-28 18:56               ` Robert P. J. Day
2008-07-28 21:43             ` Grant Coady
2008-07-28 22:02             ` Calvin Walton
2008-07-28 22:14               ` Randy Dunlap
2008-07-29 10:36                 ` Robert P. J. Day
2008-07-29 16:17                   ` Randy Dunlap
2008-07-29 20:36                     ` Robert P. J. Day
     [not found] <aTS0O-4U1-33@gated-at.bofh.it>
     [not found] ` <aTV89-39s-5@gated-at.bofh.it>
     [not found]   ` <aTZYh-4i3-21@gated-at.bofh.it>
     [not found]     ` <aUrrl-78m-3@gated-at.bofh.it>
     [not found]       ` <aUxwQ-1Hn-19@gated-at.bofh.it>
     [not found]         ` <aUERB-Zl-5@gated-at.bofh.it>
     [not found]           ` <aUFXh-3m9-3@gated-at.bofh.it>
     [not found]             ` <aUJ4U-1xe-19@gated-at.bofh.it>
     [not found]               ` <aUJeD-1N6-13@gated-at.bofh.it>
     [not found]                 ` <aUUME-5MM-11@gated-at.bofh.it>
     [not found]                   ` <aV05W-1wO-41@gated-at.bofh.it>
2008-08-02 12:41                     ` Bodo Eggert
2008-08-02 14:36                       ` Randy Dunlap
2008-08-02 21:16                         ` Bodo Eggert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).