systemd-gpt-auto-generator — Generator for automatically discovering
and mounting /home
as well as
discovering and enabling swap partitions, based on GPT
partition type GUIDs.
/usr/lib/systemd/system-generators/systemd-gpt-auto-generator
systemd-gpt-auto-generator
is a generator that automatically discovers
/home
and swap partitions and
creates mount and swap units for them, based on the
the partition type GUIDs of GUID partition tables
(GPT). Note that this generator will execute no
operation on non-GPT systems, on systems where the
units are explicitly configured (for example, listed
in
fstab(5))
or where the mount point is non-empty.
This generator will only look for partitions on the same physical disk the root file system is stored on. This generator has no effect on systems where the root file system is distributed on multiple disks, for example via btrfs RAID.
This generator is useful for centralizing file
system configuration in the partition table and making
manual configuration in
/etc/fstab
or suchlike
unnecessary.
This generator looks for swap partitions using
GPT type 0657fd6d-a4ab-43c4-84e50933c84b4f4f. It looks
for /home
partitions using GPT
type 933ac7e1-2eb4-4f13-b8440e14e2aef915.
systemd-gpt-auto-generator
implements the generator
specification.