partitions: enable EFI/GPT support by default
authorDiego Calleja <diegocg@gmail.com>
Mon, 3 Dec 2012 15:04:21 +0000 (16:04 +0100)
committerJens Axboe <axboe@kernel.dk>
Thu, 6 Dec 2012 13:34:58 +0000 (14:34 +0100)
The Kconfig currently enables MSDOS partitions by default because they
are assumed to be essential, but it's necessary to enable "advanced
partition selection" in order to get GPT support. IMO GPT partitions
are becoming common enought to deserve the same treatment MSDOS
partitions get.

(Side note: I got bit by a disk that had MSDOS and GPT partition
tables, but for some reason the MSDOS table was different from the
GPT one. I was stupid enought to disable "advanced partition
selection" in my .config, which disabled GPT partitioning and made
my btrfs pool unbootable because it couldn't find the partitions)

Signed-off-by: Diego Calleja <diegocg@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/partitions/Kconfig

index cb5f0a3..75a54e1 100644 (file)
@@ -234,8 +234,8 @@ config KARMA_PARTITION
          uses a proprietary partition table.
 
 config EFI_PARTITION
-       bool "EFI GUID Partition support"
-       depends on PARTITION_ADVANCED
+       bool "EFI GUID Partition support" if PARTITION_ADVANCED
+       default y
        select CRC32
        help
          Say Y here if you would like to use hard disks under Linux which