Re: More fun with menuconfig...

From: Olaf Dietsche (olaf+list.linux-kernel@olafdietsche.de)
Date: Sat Aug 02 2003 - 11:46:28 EST


Rob Landley <rob@landley.net> writes:

> So I have a .config with CONFIG_ADVANCED_PARTION not set, and
> CONFIG_MSDOS_PARTITION=y. (I.E. the default from arch/i386/defconfig.)
>
> I fire up make menuconfig and expand the advanced partition menu (setting
> CONFIG_ADVANCED_PARTITION to y). MSDOS partition support is NOT set in the
> newly opened menu, I.E. opening the menu has the side effect of deselecting
> CONFIG_MSDOS_PARTITION.
>
> If I do nothing else, and save with the menu open, it's off. (Saved as "not
> set".) If I fire it up again and close the menu, CONFIG_MSDOS_PARTITION
> becomes Y again.
>
> What magic am I failing to understand here? (This sort of seems intentional,
> but it would make more sense for MSDOS partition support to default to on
> when you first open the menu...)

Maybe it's this default definition in fs/partitions/Kconfig(101):

config MSDOS_PARTITION
        bool "PC BIOS (MSDOS partition tables) support" if PARTITION_ADVANCED
        default y if !PARTITION_ADVANCED && !AMIGA && !ATARI && !MAC && !SGI_IP22 && !ARM && !SGI_IP27

Regards, Olaf.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Aug 07 2003 - 22:00:19 EST