linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Randy Dunlap <randy.dunlap@oracle.com>
To: "Robert P. J. Day" <rpjday@crashcourse.ca>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Andrew Morton <akpm@osdl.org>
Subject: Re: [PATCH] FILESYSTEMS: Make "advanced partitions" immediately unselectable.
Date: Sat, 26 Jul 2008 09:47:18 -0700	[thread overview]
Message-ID: <20080726094718.b617c1e7.randy.dunlap@oracle.com> (raw)
In-Reply-To: <alpine.LFD.1.10.0807241135540.5289@localhost.localdomain>

On Sat, 26 Jul 2008 09:20:49 -0400 (EDT) Robert P. J. Day wrote:

> 
> 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>

Hi,

I like the idea, but it does have one problem.  Before this patch, if someone
disabled PARTITION_ADVANCED, the .config would still contain
CONFIG_MSDOS_PARTITION=y
but after this change, that config line is missing.  Not good.

> ---
> 
>  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


---
~Randy
Linux Plumbers Conference, 17-19 September 2008, Portland, Oregon USA
http://linuxplumbersconf.org/

  reply	other threads:[~2008-07-26 16:48 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-26 13:20 [PATCH] FILESYSTEMS: Make "advanced partitions" immediately unselectable Robert P. J. Day
2008-07-26 16:47 ` Randy Dunlap [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080726094718.b617c1e7.randy.dunlap@oracle.com \
    --to=randy.dunlap@oracle.com \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rpjday@crashcourse.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).