diff --git a/docs/DISCOVERABLE_PARTITIONS.md b/docs/DISCOVERABLE_PARTITIONS.md index d80a6674976..8b1a7b46e3e 100644 --- a/docs/DISCOVERABLE_PARTITIONS.md +++ b/docs/DISCOVERABLE_PARTITIONS.md @@ -39,172 +39,26 @@ Interface](https://systemd.io/BOOT_LOADER_INTERFACE). ## Defined Partition Type UUIDs -
Partition Type UUID | -Name | -Allowed File Systems | -Explanation | -
---|---|---|---|
Any native, optionally in LUKS | -On systems with matching architecture, the first partition with -this type UUID on the disk containing the active EFI ESP is automatically -mounted to the root directory /. If the partition is encrypted with -LUKS or has dm-verity integrity data (see below), the device mapper file will -be named /dev/mapper/root. | -||
A dm-verity superblock followed by hash data | -On systems with matching architecture, contains dm-verity -integrity hash data for the matching root partition. If this feature is used -the partition UUID of the root partition should be the first 128bit of the root -hash of the dm-verity hash data, and the partition UUID of this dm-verity -partition should be the final 128bit of it, so that the root partition and its -verity partition can be discovered easily, simply by specifying the root -hash. | -||
Any native, optionally in LUKS | -The first partition with this type UUID on the disk containing the root -partition is automatically mounted to /home/. If the partition is encrypted -with LUKS, the device mapper file will be named /dev/mapper/home. | -||
Any native, optionally in LUKS | -The first partition with this type UUID on the disk containing the root -partition is automatically mounted to /srv/. If the partition is encrypted -with LUKS, the device mapper file will be named /dev/mapper/srv. | -||
Any native, optionally in LUKS | -The first partition with this type UUID on the disk containing the root -partition is automatically mounted to /var/ — under the condition that -its partition UUID matches the first 128 bit of HMAC-SHA256(machine-id, -0x4d21b016b53445c2a9fb5c16e091fd2d) (i.e. the SHA256 HMAC hash of the -binary type UUID keyed by the machine ID as read from /etc/machine-id. This -special requirement is made because /var/ (unlike the other partition -types listed here) is inherently private to a specific installation and cannot -possibly be shared between multiple OS installations on the same disk, and thus -should be bound to a specific instance of the OS, identified by its machine ID. -If the partition is encrypted with LUKS, the device mapper file will be named -/dev/mapper/var. | -||
Any native, optionally in LUKS | -The first partition with this type UUID on the disk containing the root -partition is automatically mounted to /var/tmp/. If the partition is -encrypted with LUKS, the device mapper file will be named -/dev/mapper/tmp. Note that the intended mount point is indeed -/var/tmp/, not /tmp/. The latter is typically maintained in -memory via tmpfs and does not require a partition on disk. In some -cases it might be desirable to make /tmp/ persistent too, in which -case it is recommended to make it a symlink or bind mount to -/var/tmp/, thus not requiring its own partition type UUID. | -||
Swap | -All swap partitions on the disk containing the root partition are automatically enabled. | -||
VFAT | -The ESP used for the current boot is automatically mounted to -/efi/ (or /boot/ as fallback), unless a different partition -is mounted there (possibly via /etc/fstab, or because the Extended -Boot Loader Partition — see below — exists) or the directory is non-empty on -the root disk. This partition type is defined by the UEFI Specification. | -||
Typically VFAT | -The Extended Boot Loader Partition (XBOOTLDR) used for the current boot is -automatically mounted to /boot/, unless a different partition is -mounted there (possibly via /etc/fstab) or the directory is non-empty -on the root disk. This partition type is defined by the Boot Loader -Specification. | ||
Any native, optionally in LUKS | -No automatic mounting takes place for other Linux data partitions. This -partition type should be used for all partitions that carry Linux file -systems. The installer needs to mount them explicitly via entries in -/etc/fstab. Optionally, these partitions may be encrypted with LUKS. | -