diff options
| author | Al Viro <viro@zeniv.linux.org.uk> | 2011-09-16 00:25:05 -0400 |
|---|---|---|
| committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-01-03 22:54:06 -0500 |
| commit | 9be96f3fd10187f185d84cf878cf032465bcced3 (patch) | |
| tree | 432a430ed9e0cbe0c18916cd3c3992f09b3feb37 /block | |
| parent | 4752bc309b7604d507c973c7b7678ac2ce10a058 (diff) | |
move fs/partitions to block/
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'block')
34 files changed, 6048 insertions, 1 deletions
diff --git a/block/Kconfig b/block/Kconfig index e97934eececa..09acf1b39905 100644 --- a/block/Kconfig +++ b/block/Kconfig | |||
| @@ -99,6 +99,12 @@ config BLK_DEV_THROTTLING | |||
| 99 | 99 | ||
| 100 | See Documentation/cgroups/blkio-controller.txt for more information. | 100 | See Documentation/cgroups/blkio-controller.txt for more information. |
| 101 | 101 | ||
| 102 | menu "Partition Types" | ||
| 103 | |||
| 104 | source "block/partitions/Kconfig" | ||
| 105 | |||
| 106 | endmenu | ||
| 107 | |||
| 102 | endif # BLOCK | 108 | endif # BLOCK |
| 103 | 109 | ||
| 104 | config BLOCK_COMPAT | 110 | config BLOCK_COMPAT |
diff --git a/block/Makefile b/block/Makefile index 514c6e4f427a..3199c0cdef5a 100644 --- a/block/Makefile +++ b/block/Makefile | |||
| @@ -5,7 +5,8 @@ | |||
| 5 | obj-$(CONFIG_BLOCK) := elevator.o blk-core.o blk-tag.o blk-sysfs.o \ | 5 | obj-$(CONFIG_BLOCK) := elevator.o blk-core.o blk-tag.o blk-sysfs.o \ |
| 6 | blk-flush.o blk-settings.o blk-ioc.o blk-map.o \ | 6 | blk-flush.o blk-settings.o blk-ioc.o blk-map.o \ |
| 7 | blk-exec.o blk-merge.o blk-softirq.o blk-timeout.o \ | 7 | blk-exec.o blk-merge.o blk-softirq.o blk-timeout.o \ |
| 8 | blk-iopoll.o blk-lib.o ioctl.o genhd.o scsi_ioctl.o | 8 | blk-iopoll.o blk-lib.o ioctl.o genhd.o scsi_ioctl.o \ |
| 9 | partitions/ | ||
| 9 | 10 | ||
| 10 | obj-$(CONFIG_BLK_DEV_BSG) += bsg.o | 11 | obj-$(CONFIG_BLK_DEV_BSG) += bsg.o |
| 11 | obj-$(CONFIG_BLK_DEV_BSGLIB) += bsg-lib.o | 12 | obj-$(CONFIG_BLK_DEV_BSGLIB) += bsg-lib.o |
diff --git a/block/partitions/Kconfig b/block/partitions/Kconfig new file mode 100644 index 000000000000..cb5f0a3f1b03 --- /dev/null +++ b/block/partitions/Kconfig | |||
| @@ -0,0 +1,251 @@ | |||
| 1 | # | ||
| 2 | # Partition configuration | ||
| 3 | # | ||
| 4 | config PARTITION_ADVANCED | ||
| 5 | bool "Advanced partition selection" | ||
| 6 | help | ||
| 7 | Say Y here if you would like to use hard disks under Linux which | ||
| 8 | were partitioned under an operating system running on a different | ||
| 9 | architecture than your Linux system. | ||
| 10 | |||
| 11 | Note that the answer to this question won't directly affect the | ||
| 12 | kernel: saying N will just cause the configurator to skip all | ||
| 13 | the questions about foreign partitioning schemes. | ||
| 14 | |||
| 15 | If unsure, say N. | ||
| 16 | |||
| 17 | config ACORN_PARTITION | ||
| 18 | bool "Acorn partition support" if PARTITION_ADVANCED | ||
| 19 | default y if ARCH_ACORN | ||
| 20 | help | ||
| 21 | Support hard disks partitioned under Acorn operating systems. | ||
| 22 | |||
| 23 | config ACORN_PARTITION_CUMANA | ||
| 24 | bool "Cumana partition support" if PARTITION_ADVANCED | ||
| 25 | default y if ARCH_ACORN | ||
| 26 | depends on ACORN_PARTITION | ||
| 27 | help | ||
| 28 | Say Y here if you would like to use hard disks under Linux which | ||
| 29 | were partitioned using the Cumana interface on Acorn machines. | ||
| 30 | |||
| 31 | config ACORN_PARTITION_EESOX | ||
| 32 | bool "EESOX partition support" if PARTITION_ADVANCED | ||
| 33 | default y if ARCH_ACORN | ||
| 34 | depends on ACORN_PARTITION | ||
| 35 | |||
| 36 | config ACORN_PARTITION_ICS | ||
| 37 | bool "ICS partition support" if PARTITION_ADVANCED | ||
| 38 | default y if ARCH_ACORN | ||
| 39 | depends on ACORN_PARTITION | ||
| 40 | help | ||
| 41 | Say Y here if you would like to use hard disks under Linux which | ||
| 42 | were partitioned using the ICS interface on Acorn machines. | ||
| 43 | |||
| 44 | config ACORN_PARTITION_ADFS | ||
| 45 | bool "Native filecore partition support" if PARTITION_ADVANCED | ||
| 46 | default y if ARCH_ACORN | ||
| 47 | depends on ACORN_PARTITION | ||
| 48 | help | ||
| 49 | The Acorn Disc Filing System is the standard file system of the | ||
| 50 | RiscOS operating system which runs on Acorn's ARM-based Risc PC | ||
| 51 | systems and the Acorn Archimedes range of machines. If you say | ||
| 52 | `Y' here, Linux will support disk partitions created under ADFS. | ||
| 53 | |||
| 54 | config ACORN_PARTITION_POWERTEC | ||
| 55 | bool "PowerTec partition support" if PARTITION_ADVANCED | ||
| 56 | default y if ARCH_ACORN | ||
| 57 | depends on ACORN_PARTITION | ||
| 58 | help | ||
| 59 | Support reading partition tables created on Acorn machines using | ||
| 60 | the PowerTec SCSI drive. | ||
| 61 | |||
| 62 | config ACORN_PARTITION_RISCIX | ||
| 63 | bool "RISCiX partition support" if PARTITION_ADVANCED | ||
| 64 | default y if ARCH_ACORN | ||
| 65 | depends on ACORN_PARTITION | ||
| 66 | help | ||
| 67 | Once upon a time, there was a native Unix port for the Acorn series | ||
| 68 | of machines called RISCiX. If you say 'Y' here, Linux will be able | ||
| 69 | to read disks partitioned under RISCiX. | ||
| 70 | |||
| 71 | config OSF_PARTITION | ||
| 72 | bool "Alpha OSF partition support" if PARTITION_ADVANCED | ||
| 73 | default y if ALPHA | ||
| 74 | help | ||
| 75 | Say Y here if you would like to use hard disks under Linux which | ||
| 76 | were partitioned on an Alpha machine. | ||
| 77 | |||
| 78 | config AMIGA_PARTITION | ||
| 79 | bool "Amiga partition table support" if PARTITION_ADVANCED | ||
| 80 | default y if (AMIGA || AFFS_FS=y) | ||
| 81 | help | ||
| 82 | Say Y here if you would like to use hard disks under Linux which | ||
| 83 | were partitioned under AmigaOS. | ||
| 84 | |||
| 85 | config ATARI_PARTITION | ||
| 86 | bool "Atari partition table support" if PARTITION_ADVANCED | ||
| 87 | default y if ATARI | ||
| 88 | help | ||
| 89 | Say Y here if you would like to use hard disks under Linux which | ||
| 90 | were partitioned under the Atari OS. | ||
| 91 | |||
| 92 | config IBM_PARTITION | ||
| 93 | bool "IBM disk label and partition support" | ||
| 94 | depends on PARTITION_ADVANCED && S390 | ||
| 95 | help | ||
| 96 | Say Y here if you would like to be able to read the hard disk | ||
| 97 | partition table format used by IBM DASD disks operating under CMS. | ||
| 98 | Otherwise, say N. | ||
| 99 | |||
| 100 | config MAC_PARTITION | ||
| 101 | bool "Macintosh partition map support" if PARTITION_ADVANCED | ||
| 102 | default y if (MAC || PPC_PMAC) | ||
| 103 | help | ||
| 104 | Say Y here if you would like to use hard disks under Linux which | ||
| 105 | were partitioned on a Macintosh. | ||
| 106 | |||
| 107 | config MSDOS_PARTITION | ||
| 108 | bool "PC BIOS (MSDOS partition tables) support" if PARTITION_ADVANCED | ||
| 109 | default y | ||
| 110 | help | ||
| 111 | Say Y here. | ||
| 112 | |||
| 113 | config BSD_DISKLABEL | ||
| 114 | bool "BSD disklabel (FreeBSD partition tables) support" | ||
