xref: /linux/block/partitions/Kconfig (revision 03ab8e6297acd1bc0eedaa050e2a1635c576fd11)
1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
29be96f3fSAl Viro#
39be96f3fSAl Viro# Partition configuration
49be96f3fSAl Viro#
5*b8b98a62SMasahiro Yamadamenu "Partition Types"
6*b8b98a62SMasahiro Yamada
79be96f3fSAl Viroconfig PARTITION_ADVANCED
89be96f3fSAl Viro	bool "Advanced partition selection"
99be96f3fSAl Viro	help
109be96f3fSAl Viro	  Say Y here if you would like to use hard disks under Linux which
119be96f3fSAl Viro	  were partitioned under an operating system running on a different
129be96f3fSAl Viro	  architecture than your Linux system.
139be96f3fSAl Viro
149be96f3fSAl Viro	  Note that the answer to this question won't directly affect the
159be96f3fSAl Viro	  kernel: saying N will just cause the configurator to skip all
169be96f3fSAl Viro	  the questions about foreign partitioning schemes.
179be96f3fSAl Viro
189be96f3fSAl Viro	  If unsure, say N.
199be96f3fSAl Viro
209be96f3fSAl Viroconfig ACORN_PARTITION
219be96f3fSAl Viro	bool "Acorn partition support" if PARTITION_ADVANCED
229be96f3fSAl Viro	default y if ARCH_ACORN
239be96f3fSAl Viro	help
249be96f3fSAl Viro	  Support hard disks partitioned under Acorn operating systems.
259be96f3fSAl Viro
269be96f3fSAl Viroconfig ACORN_PARTITION_CUMANA
279be96f3fSAl Viro	bool "Cumana partition support" if PARTITION_ADVANCED
289be96f3fSAl Viro	default y if ARCH_ACORN
299be96f3fSAl Viro	depends on ACORN_PARTITION
309be96f3fSAl Viro	help
319be96f3fSAl Viro	  Say Y here if you would like to use hard disks under Linux which
329be96f3fSAl Viro	  were partitioned using the Cumana interface on Acorn machines.
339be96f3fSAl Viro
349be96f3fSAl Viroconfig ACORN_PARTITION_EESOX
359be96f3fSAl Viro	bool "EESOX partition support" if PARTITION_ADVANCED
369be96f3fSAl Viro	default y if ARCH_ACORN
379be96f3fSAl Viro	depends on ACORN_PARTITION
389be96f3fSAl Viro
399be96f3fSAl Viroconfig ACORN_PARTITION_ICS
409be96f3fSAl Viro	bool "ICS partition support" if PARTITION_ADVANCED
419be96f3fSAl Viro	default y if ARCH_ACORN
429be96f3fSAl Viro	depends on ACORN_PARTITION
439be96f3fSAl Viro	help
449be96f3fSAl Viro	  Say Y here if you would like to use hard disks under Linux which
459be96f3fSAl Viro	  were partitioned using the ICS interface on Acorn machines.
469be96f3fSAl Viro
479be96f3fSAl Viroconfig ACORN_PARTITION_ADFS
489be96f3fSAl Viro	bool "Native filecore partition support" if PARTITION_ADVANCED
499be96f3fSAl Viro	default y if ARCH_ACORN
509be96f3fSAl Viro	depends on ACORN_PARTITION
519be96f3fSAl Viro	help
529be96f3fSAl Viro	  The Acorn Disc Filing System is the standard file system of the
539be96f3fSAl Viro	  RiscOS operating system which runs on Acorn's ARM-based Risc PC
549be96f3fSAl Viro	  systems and the Acorn Archimedes range of machines.  If you say
559be96f3fSAl Viro	  `Y' here, Linux will support disk partitions created under ADFS.
569be96f3fSAl Viro
579be96f3fSAl Viroconfig ACORN_PARTITION_POWERTEC
589be96f3fSAl Viro	bool "PowerTec partition support" if PARTITION_ADVANCED
599be96f3fSAl Viro	default y if ARCH_ACORN
609be96f3fSAl Viro	depends on ACORN_PARTITION
619be96f3fSAl Viro	help
629be96f3fSAl Viro	  Support reading partition tables created on Acorn machines using
639be96f3fSAl Viro	  the PowerTec SCSI drive.
649be96f3fSAl Viro
659be96f3fSAl Viroconfig ACORN_PARTITION_RISCIX
669be96f3fSAl Viro	bool "RISCiX partition support" if PARTITION_ADVANCED
679be96f3fSAl Viro	default y if ARCH_ACORN
689be96f3fSAl Viro	depends on ACORN_PARTITION
699be96f3fSAl Viro	help
709be96f3fSAl Viro	  Once upon a time, there was a native Unix port for the Acorn series
719be96f3fSAl Viro	  of machines called RISCiX.  If you say 'Y' here, Linux will be able
729be96f3fSAl Viro	  to read disks partitioned under RISCiX.
739be96f3fSAl Viro
746ceea22bSPhilippe De Muyterconfig AIX_PARTITION
756ceea22bSPhilippe De Muyter	bool "AIX basic partition table support" if PARTITION_ADVANCED
766ceea22bSPhilippe De Muyter	help
776ceea22bSPhilippe De Muyter	  Say Y here if you would like to be able to read the hard disk
786ceea22bSPhilippe De Muyter	  partition table format used by IBM or Motorola PowerPC machines
796ceea22bSPhilippe De Muyter	  running AIX.  AIX actually uses a Logical Volume Manager, where
806ceea22bSPhilippe De Muyter	  "logical volumes" can be spread across one or multiple disks,
816ceea22bSPhilippe De Muyter	  but this driver works only for the simple case of partitions which
826ceea22bSPhilippe De Muyter	  are contiguous.
836ceea22bSPhilippe De Muyter	  Otherwise, say N.
846ceea22bSPhilippe De Muyter
859be96f3fSAl Viroconfig OSF_PARTITION
869be96f3fSAl Viro	bool "Alpha OSF partition support" if PARTITION_ADVANCED
879be96f3fSAl Viro	default y if ALPHA
889be96f3fSAl Viro	help
899be96f3fSAl Viro	  Say Y here if you would like to use hard disks under Linux which
909be96f3fSAl Viro	  were partitioned on an Alpha machine.
919be96f3fSAl Viro
929be96f3fSAl Viroconfig AMIGA_PARTITION
939be96f3fSAl Viro	bool "Amiga partition table support" if PARTITION_ADVANCED
949be96f3fSAl Viro	default y if (AMIGA || AFFS_FS=y)
959be96f3fSAl Viro	help
969be96f3fSAl Viro	  Say Y here if you would like to use hard disks under Linux which
979be96f3fSAl Viro	  were partitioned under AmigaOS.
989be96f3fSAl Viro
999be96f3fSAl Viroconfig ATARI_PARTITION
1009be96f3fSAl Viro	bool "Atari partition table support" if PARTITION_ADVANCED
1019be96f3fSAl Viro	default y if ATARI
1029be96f3fSAl Viro	help
1039be96f3fSAl Viro	  Say Y here if you would like to use hard disks under Linux which
1049be96f3fSAl Viro	  were partitioned under the Atari OS.
1059be96f3fSAl Viro
1069be96f3fSAl Viroconfig IBM_PARTITION
1079be96f3fSAl Viro	bool "IBM disk label and partition support"
1089be96f3fSAl Viro	depends on PARTITION_ADVANCED && S390
1099be96f3fSAl Viro	help
1109be96f3fSAl Viro	  Say Y here if you would like to be able to read the hard disk
1119be96f3fSAl Viro	  partition table format used by IBM DASD disks operating under CMS.
1129be96f3fSAl Viro	  Otherwise, say N.
1139be96f3fSAl Viro
1149be96f3fSAl Viroconfig MAC_PARTITION
1159be96f3fSAl Viro	bool "Macintosh partition map support" if PARTITION_ADVANCED
1169be96f3fSAl Viro	default y if (MAC || PPC_PMAC)
1179be96f3fSAl Viro	help
1189be96f3fSAl Viro	  Say Y here if you would like to use hard disks under Linux which
1199be96f3fSAl Viro	  were partitioned on a Macintosh.
1209be96f3fSAl Viro
1219be96f3fSAl Viroconfig MSDOS_PARTITION
1229be96f3fSAl Viro	bool "PC BIOS (MSDOS partition tables) support" if PARTITION_ADVANCED
1239be96f3fSAl Viro	default y
1249be96f3fSAl Viro	help
1259be96f3fSAl Viro	  Say Y here.
1269be96f3fSAl Viro
1279be96f3fSAl Viroconfig BSD_DISKLABEL
1289be96f3fSAl Viro	bool "BSD disklabel (FreeBSD partition tables) support"
1299be96f3fSAl Viro	depends on PARTITION_ADVANCED && MSDOS_PARTITION
1309be96f3fSAl Viro	help
1319be96f3fSAl Viro	  FreeBSD uses its own hard disk partition scheme on your PC. It
1329be96f3fSAl Viro	  requires only one entry in the primary partition table of your disk
1339be96f3fSAl Viro	  and manages it similarly to DOS extended partitions, putting in its
1349be96f3fSAl Viro	  first sector a new partition table in BSD disklabel format. Saying Y
1359be96f3fSAl Viro	  here allows you to read these disklabels and further mount FreeBSD
1369be96f3fSAl Viro	  partitions from within Linux if you have also said Y to "UFS
1379be96f3fSAl Viro	  file system support", above. If you don't know what all this is
1389be96f3fSAl Viro	  about, say N.
1399be96f3fSAl Viro
1409be96f3fSAl Viroconfig MINIX_SUBPARTITION
1419be96f3fSAl Viro	bool "Minix subpartition support"
1429be96f3fSAl Viro	depends on PARTITION_ADVANCED && MSDOS_PARTITION
1439be96f3fSAl Viro	help
1449be96f3fSAl Viro	  Minix 2.0.0/2.0.2 subpartition table support for Linux.
1459be96f3fSAl Viro	  Say Y here if you want to mount and use Minix 2.0.0/2.0.2
1469be96f3fSAl Viro	  subpartitions.
1479be96f3fSAl Viro
1489be96f3fSAl Viroconfig SOLARIS_X86_PARTITION
1499be96f3fSAl Viro	bool "Solaris (x86) partition table support"
1509be96f3fSAl Viro	depends on PARTITION_ADVANCED && MSDOS_PARTITION
1519be96f3fSAl Viro	help
1529be96f3fSAl Viro	  Like most systems, Solaris x86 uses its own hard disk partition
1539be96f3fSAl Viro	  table format, incompatible with all others. Saying Y here allows you
1549be96f3fSAl Viro	  to read these partition tables and further mount Solaris x86
1559be96f3fSAl Viro	  partitions from within Linux if you have also said Y to "UFS
1569be96f3fSAl Viro	  file system support", above.
1579be96f3fSAl Viro
1589be96f3fSAl Viroconfig UNIXWARE_DISKLABEL
1599be96f3fSAl Viro	bool "Unixware slices support"
1609be96f3fSAl Viro	depends on PARTITION_ADVANCED && MSDOS_PARTITION
161a7f7f624SMasahiro Yamada	help
1629be96f3fSAl Viro	  Like some systems, UnixWare uses its own slice table inside a
1639be96f3fSAl Viro	  partition (VTOC - Virtual Table of Contents). Its format is
1649be96f3fSAl Viro	  incompatible with all other OSes. Saying Y here allows you to read
1659be96f3fSAl Viro	  VTOC and further mount UnixWare partitions read-only from within
1669be96f3fSAl Viro	  Linux if you have also said Y to "UFS file system support" or
1679be96f3fSAl Viro	  "System V and Coherent file system support", above.
1689be96f3fSAl Viro
1699be96f3fSAl Viro	  This is mainly used to carry data from a UnixWare box to your
1709be96f3fSAl Viro	  Linux box via a removable medium like magneto-optical, ZIP or
1719be96f3fSAl Viro	  removable IDE drives. Note, however, that a good portable way to
1729be96f3fSAl Viro	  transport files and directories between unixes (and even other
1739be96f3fSAl Viro	  operating systems) is given by the tar program ("man tar" or
1749be96f3fSAl Viro	  preferably "info tar").
1759be96f3fSAl Viro
1769be96f3fSAl Viro	  If you don't know what all this is about, say N.
1779be96f3fSAl Viro
1789be96f3fSAl Viroconfig LDM_PARTITION
1799be96f3fSAl Viro	bool "Windows Logical Disk Manager (Dynamic Disk) support"
1809be96f3fSAl Viro	depends on PARTITION_ADVANCED
181a7f7f624SMasahiro Yamada	help
1829be96f3fSAl Viro	  Say Y here if you would like to use hard disks under Linux which
1839be96f3fSAl Viro	  were partitioned using Windows 2000's/XP's or Vista's Logical Disk
1849be96f3fSAl Viro	  Manager.  They are also known as "Dynamic Disks".
1859be96f3fSAl Viro
1869be96f3fSAl Viro	  Note this driver only supports Dynamic Disks with a protective MBR
1879be96f3fSAl Viro	  label, i.e. DOS partition table.  It does not support GPT labelled
1889be96f3fSAl Viro	  Dynamic Disks yet as can be created with Vista.
1899be96f3fSAl Viro
1909be96f3fSAl Viro	  Windows 2000 introduced the concept of Dynamic Disks to get around
1919be96f3fSAl Viro	  the limitations of the PC's partitioning scheme.  The Logical Disk
1929be96f3fSAl Viro	  Manager allows the user to repartition a disk and create spanned,
1939be96f3fSAl Viro	  mirrored, striped or RAID volumes, all without the need for
1949be96f3fSAl Viro	  rebooting.
1959be96f3fSAl Viro
1969be96f3fSAl Viro	  Normal partitions are now called Basic Disks under Windows 2000, XP,
1979be96f3fSAl Viro	  and Vista.
1989be96f3fSAl Viro
1994f4cfa6cSMauro Carvalho Chehab	  For a fuller description read <file:Documentation/admin-guide/ldm.rst>.
2009be96f3fSAl Viro
2019be96f3fSAl Viro	  If unsure, say N.
2029be96f3fSAl Viro
2039be96f3fSAl Viroconfig LDM_DEBUG
2049be96f3fSAl Viro	bool "Windows LDM extra logging"
2059be96f3fSAl Viro	depends on LDM_PARTITION
2069be96f3fSAl Viro	help
2079be96f3fSAl Viro	  Say Y here if you would like LDM to log verbosely.  This could be
2089be96f3fSAl Viro	  helpful if the driver doesn't work as expected and you'd like to
2099be96f3fSAl Viro	  report a bug.
2109be96f3fSAl Viro
2119be96f3fSAl Viro	  If unsure, say N.
2129be96f3fSAl Viro
2139be96f3fSAl Viroconfig SGI_PARTITION
2149be96f3fSAl Viro	bool "SGI partition support" if PARTITION_ADVANCED
2159be96f3fSAl Viro	default y if DEFAULT_SGI_PARTITION
2169be96f3fSAl Viro	help
2179be96f3fSAl Viro	  Say Y here if you would like to be able to read the hard disk
2189be96f3fSAl Viro	  partition table format used by SGI machines.
2199be96f3fSAl Viro
2209be96f3fSAl Viroconfig ULTRIX_PARTITION
2219be96f3fSAl Viro	bool "Ultrix partition table support" if PARTITION_ADVANCED
2229be96f3fSAl Viro	default y if MACH_DECSTATION
2239be96f3fSAl Viro	help
2249be96f3fSAl Viro	  Say Y here if you would like to be able to read the hard disk
2259be96f3fSAl Viro	  partition table format used by DEC (now Compaq) Ultrix machines.
2269be96f3fSAl Viro	  Otherwise, say N.
2279be96f3fSAl Viro
2289be96f3fSAl Viroconfig SUN_PARTITION
2299be96f3fSAl Viro	bool "Sun partition tables support" if PARTITION_ADVANCED
2309be96f3fSAl Viro	default y if (SPARC || SUN3 || SUN3X)
231a7f7f624SMasahiro Yamada	help
2329be96f3fSAl Viro	  Like most systems, SunOS uses its own hard disk partition table
2339be96f3fSAl Viro	  format, incompatible with all others. Saying Y here allows you to
2349be96f3fSAl Viro	  read these partition tables and further mount SunOS partitions from
2359be96f3fSAl Viro	  within Linux if you have also said Y to "UFS file system support",
2369be96f3fSAl Viro	  above. This is mainly used to carry data from a SPARC under SunOS to
2379be96f3fSAl Viro	  your Linux box via a removable medium like magneto-optical or ZIP
2389be96f3fSAl Viro	  drives; note however that a good portable way to transport files and
2399be96f3fSAl Viro	  directories between unixes (and even other operating systems) is
2409be96f3fSAl Viro	  given by the tar program ("man tar" or preferably "info tar"). If
2419be96f3fSAl Viro	  you don't know what all this is about, say N.
2429be96f3fSAl Viro
2439be96f3fSAl Viroconfig KARMA_PARTITION
2449be96f3fSAl Viro	bool "Karma Partition support"
2459be96f3fSAl Viro	depends on PARTITION_ADVANCED
2469be96f3fSAl Viro	help
2479be96f3fSAl Viro	  Say Y here if you would like to mount the Rio Karma MP3 player, as it
2489be96f3fSAl Viro	  uses a proprietary partition table.
2499be96f3fSAl Viro
2509be96f3fSAl Viroconfig EFI_PARTITION
2515f6f38dbSDiego Calleja	bool "EFI GUID Partition support" if PARTITION_ADVANCED
2525f6f38dbSDiego Calleja	default y
2539be96f3fSAl Viro	select CRC32
2549be96f3fSAl Viro	help
2559be96f3fSAl Viro	  Say Y here if you would like to use hard disks under Linux which
2569be96f3fSAl Viro	  were partitioned using EFI GPT.
2579be96f3fSAl Viro
2589be96f3fSAl Viroconfig SYSV68_PARTITION
2599be96f3fSAl Viro	bool "SYSV68 partition table support" if PARTITION_ADVANCED
2609be96f3fSAl Viro	default y if VME
2619be96f3fSAl Viro	help
2629be96f3fSAl Viro	  Say Y here if you would like to be able to read the hard disk
2639be96f3fSAl Viro	  partition table format used by Motorola Delta machines (using
2649be96f3fSAl Viro	  sysv68).
2659be96f3fSAl Viro	  Otherwise, say N.
266bab55417SCai Zhiyong
267bab55417SCai Zhiyongconfig CMDLINE_PARTITION
268bab55417SCai Zhiyong	bool "Command line partition support" if PARTITION_ADVANCED
269bab55417SCai Zhiyong	help
270080506adSPaul Gortmaker	  Say Y here if you want to read the partition table from bootargs.
271bab55417SCai Zhiyong	  The format for the command line is just like mtdparts.
272*b8b98a62SMasahiro Yamada
273*b8b98a62SMasahiro Yamadaendmenu
274