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