xref: /openbmc/linux/block/partitions/Kconfig (revision 31e67366)
1# SPDX-License-Identifier: GPL-2.0
2#
3# Partition configuration
4#
5config PARTITION_ADVANCED
6	bool "Advanced partition selection"
7	help
8	  Say Y here if you would like to use hard disks under Linux which
9	  were partitioned under an operating system running on a different
10	  architecture than your Linux system.
11
12	  Note that the answer to this question won't directly affect the
13	  kernel: saying N will just cause the configurator to skip all
14	  the questions about foreign partitioning schemes.
15
16	  If unsure, say N.
17
18config ACORN_PARTITION
19	bool "Acorn partition support" if PARTITION_ADVANCED
20	default y if ARCH_ACORN
21	help
22	  Support hard disks partitioned under Acorn operating systems.
23
24config ACORN_PARTITION_CUMANA
25	bool "Cumana partition support" if PARTITION_ADVANCED
26	default y if ARCH_ACORN
27	depends on ACORN_PARTITION
28	help
29	  Say Y here if you would like to use hard disks under Linux which
30	  were partitioned using the Cumana interface on Acorn machines.
31
32config ACORN_PARTITION_EESOX
33	bool "EESOX partition support" if PARTITION_ADVANCED
34	default y if ARCH_ACORN
35	depends on ACORN_PARTITION
36
37config ACORN_PARTITION_ICS
38	bool "ICS partition support" if PARTITION_ADVANCED
39	default y if ARCH_ACORN
40	depends on ACORN_PARTITION
41	help
42	  Say Y here if you would like to use hard disks under Linux which
43	  were partitioned using the ICS interface on Acorn machines.
44
45config ACORN_PARTITION_ADFS
46	bool "Native filecore partition support" if PARTITION_ADVANCED
47	default y if ARCH_ACORN
48	depends on ACORN_PARTITION
49	help
50	  The Acorn Disc Filing System is the standard file system of the
51	  RiscOS operating system which runs on Acorn's ARM-based Risc PC
52	  systems and the Acorn Archimedes range of machines.  If you say
53	  `Y' here, Linux will support disk partitions created under ADFS.
54
55config ACORN_PARTITION_POWERTEC
56	bool "PowerTec partition support" if PARTITION_ADVANCED
57	default y if ARCH_ACORN
58	depends on ACORN_PARTITION
59	help
60	  Support reading partition tables created on Acorn machines using
61	  the PowerTec SCSI drive.
62
63config ACORN_PARTITION_RISCIX
64	bool "RISCiX partition support" if PARTITION_ADVANCED
65	default y if ARCH_ACORN
66	depends on ACORN_PARTITION
67	help
68	  Once upon a time, there was a native Unix port for the Acorn series
69	  of machines called RISCiX.  If you say 'Y' here, Linux will be able
70	  to read disks partitioned under RISCiX.
71
72config AIX_PARTITION
73	bool "AIX basic partition table support" if PARTITION_ADVANCED
74	help
75	  Say Y here if you would like to be able to read the hard disk
76	  partition table format used by IBM or Motorola PowerPC machines
77	  running AIX.  AIX actually uses a Logical Volume Manager, where
78	  "logical volumes" can be spread across one or multiple disks,
79	  but this driver works only for the simple case of partitions which
80	  are contiguous.
81	  Otherwise, say N.
82
83config OSF_PARTITION
84	bool "Alpha OSF partition support" if PARTITION_ADVANCED
85	default y if ALPHA
86	help
87	  Say Y here if you would like to use hard disks under Linux which
88	  were partitioned on an Alpha machine.
89
90config AMIGA_PARTITION
91	bool "Amiga partition table support" if PARTITION_ADVANCED
92	default y if (AMIGA || AFFS_FS=y)
93	help
94	  Say Y here if you would like to use hard disks under Linux which
95	  were partitioned under AmigaOS.
96
97config ATARI_PARTITION
98	bool "Atari partition table support" if PARTITION_ADVANCED
99	default y if ATARI
100	help
101	  Say Y here if you would like to use hard disks under Linux which
102	  were partitioned under the Atari OS.
103
104config IBM_PARTITION
105	bool "IBM disk label and partition support"
106	depends on PARTITION_ADVANCED && S390
107	help
108	  Say Y here if you would like to be able to read the hard disk
109	  partition table format used by IBM DASD disks operating under CMS.
110	  Otherwise, say N.
111
112config MAC_PARTITION
113	bool "Macintosh partition map support" if PARTITION_ADVANCED
114	default y if (MAC || PPC_PMAC)
115	help
116	  Say Y here if you would like to use hard disks under Linux which
117	  were partitioned on a Macintosh.
118
119config MSDOS_PARTITION
120	bool "PC BIOS (MSDOS partition tables) support" if PARTITION_ADVANCED
121	default y
122	help
123	  Say Y here.
124
125config BSD_DISKLABEL
126	bool "BSD disklabel (FreeBSD partition tables) support"
127	depends on PARTITION_ADVANCED && MSDOS_PARTITION
128	help
129	  FreeBSD uses its own hard disk partition scheme on your PC. It
130	  requires only one entry in the primary partition table of your disk
131	  and manages it similarly to DOS extended partitions, putting in its
132	  first sector a new partition table in BSD disklabel format. Saying Y
133	  here allows you to read these disklabels and further mount FreeBSD
134	  partitions from within Linux if you have also said Y to "UFS
135	  file system support", above. If you don't know what all this is
136	  about, say N.
137
138config MINIX_SUBPARTITION
139	bool "Minix subpartition support"
140	depends on PARTITION_ADVANCED && MSDOS_PARTITION
141	help
142	  Minix 2.0.0/2.0.2 subpartition table support for Linux.
143	  Say Y here if you want to mount and use Minix 2.0.0/2.0.2
144	  subpartitions.
145
146config SOLARIS_X86_PARTITION
147	bool "Solaris (x86) partition table support"
148	depends on PARTITION_ADVANCED && MSDOS_PARTITION
149	help
150	  Like most systems, Solaris x86 uses its own hard disk partition
151	  table format, incompatible with all others. Saying Y here allows you
152	  to read these partition tables and further mount Solaris x86
153	  partitions from within Linux if you have also said Y to "UFS
154	  file system support", above.
155
156config UNIXWARE_DISKLABEL
157	bool "Unixware slices support"
158	depends on PARTITION_ADVANCED && MSDOS_PARTITION
159	help
160	  Like some systems, UnixWare uses its own slice table inside a
161	  partition (VTOC - Virtual Table of Contents). Its format is
162	  incompatible with all other OSes. Saying Y here allows you to read
163	  VTOC and further mount UnixWare partitions read-only from within
164	  Linux if you have also said Y to "UFS file system support" or
165	  "System V and Coherent file system support", above.
166
167	  This is mainly used to carry data from a UnixWare box to your
168	  Linux box via a removable medium like magneto-optical, ZIP or
169	  removable IDE drives. Note, however, that a good portable way to
170	  transport files and directories between unixes (and even other
171	  operating systems) is given by the tar program ("man tar" or
172	  preferably "info tar").
173
174	  If you don't know what all this is about, say N.
175
176config LDM_PARTITION
177	bool "Windows Logical Disk Manager (Dynamic Disk) support"
178	depends on PARTITION_ADVANCED
179	help
180	  Say Y here if you would like to use hard disks under Linux which
181	  were partitioned using Windows 2000's/XP's or Vista's Logical Disk
182	  Manager.  They are also known as "Dynamic Disks".
183
184	  Note this driver only supports Dynamic Disks with a protective MBR
185	  label, i.e. DOS partition table.  It does not support GPT labelled
186	  Dynamic Disks yet as can be created with Vista.
187
188	  Windows 2000 introduced the concept of Dynamic Disks to get around
189	  the limitations of the PC's partitioning scheme.  The Logical Disk
190	  Manager allows the user to repartition a disk and create spanned,
191	  mirrored, striped or RAID volumes, all without the need for
192	  rebooting.
193
194	  Normal partitions are now called Basic Disks under Windows 2000, XP,
195	  and Vista.
196
197	  For a fuller description read <file:Documentation/admin-guide/ldm.rst>.
198
199	  If unsure, say N.
200
201config LDM_DEBUG
202	bool "Windows LDM extra logging"
203	depends on LDM_PARTITION
204	help
205	  Say Y here if you would like LDM to log verbosely.  This could be
206	  helpful if the driver doesn't work as expected and you'd like to
207	  report a bug.
208
209	  If unsure, say N.
210
211config SGI_PARTITION
212	bool "SGI partition support" if PARTITION_ADVANCED
213	default y if DEFAULT_SGI_PARTITION
214	help
215	  Say Y here if you would like to be able to read the hard disk
216	  partition table format used by SGI machines.
217
218config ULTRIX_PARTITION
219	bool "Ultrix partition table support" if PARTITION_ADVANCED
220	default y if MACH_DECSTATION
221	help
222	  Say Y here if you would like to be able to read the hard disk
223	  partition table format used by DEC (now Compaq) Ultrix machines.
224	  Otherwise, say N.
225
226config SUN_PARTITION
227	bool "Sun partition tables support" if PARTITION_ADVANCED
228	default y if (SPARC || SUN3 || SUN3X)
229	help
230	  Like most systems, SunOS uses its own hard disk partition table
231	  format, incompatible with all others. Saying Y here allows you to
232	  read these partition tables and further mount SunOS partitions from
233	  within Linux if you have also said Y to "UFS file system support",
234	  above. This is mainly used to carry data from a SPARC under SunOS to
235	  your Linux box via a removable medium like magneto-optical or ZIP
236	  drives; note however that a good portable way to transport files and
237	  directories between unixes (and even other operating systems) is
238	  given by the tar program ("man tar" or preferably "info tar"). If
239	  you don't know what all this is about, say N.
240
241config KARMA_PARTITION
242	bool "Karma Partition support"
243	depends on PARTITION_ADVANCED
244	help
245	  Say Y here if you would like to mount the Rio Karma MP3 player, as it
246	  uses a proprietary partition table.
247
248config EFI_PARTITION
249	bool "EFI GUID Partition support" if PARTITION_ADVANCED
250	default y
251	select CRC32
252	help
253	  Say Y here if you would like to use hard disks under Linux which
254	  were partitioned using EFI GPT.
255
256config SYSV68_PARTITION
257	bool "SYSV68 partition table support" if PARTITION_ADVANCED
258	default y if VME
259	help
260	  Say Y here if you would like to be able to read the hard disk
261	  partition table format used by Motorola Delta machines (using
262	  sysv68).
263	  Otherwise, say N.
264
265config CMDLINE_PARTITION
266	bool "Command line partition support" if PARTITION_ADVANCED
267	select BLK_CMDLINE_PARSER
268	help
269	  Say Y here if you want to read the partition table from bootargs.
270	  The format for the command line is just like mtdparts.
271