mirror of
https://git.proxmox.com/git/systemd
synced 2025-08-04 06:20:48 +00:00
55 lines
4.3 KiB
HTML
55 lines
4.3 KiB
HTML
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>systemd-gpt-auto-generator</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><style>
|
|
a.headerlink {
|
|
color: #c60f0f;
|
|
font-size: 0.8em;
|
|
padding: 0 4px 0 4px;
|
|
text-decoration: none;
|
|
visibility: hidden;
|
|
}
|
|
|
|
a.headerlink:hover {
|
|
background-color: #c60f0f;
|
|
color: white;
|
|
}
|
|
|
|
h1:hover > a.headerlink, h2:hover > a.headerlink, h3:hover > a.headerlink, dt:hover > a.headerlink {
|
|
visibility: visible;
|
|
}
|
|
</style><a href="index.html">Index </a>·
|
|
<a href="systemd.directives.html">Directives </a>·
|
|
<a href="../python-systemd/index.html">Python </a>·
|
|
<a href="../libudev/index.html">libudev </a>·
|
|
<a href="../libudev/index.html">gudev </a><span style="float:right">systemd 208</span><hr><div class="refentry"><a name="systemd-gpt-auto-generator"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>systemd-gpt-auto-generator — Generator for automatically discovering
|
|
and mounting <code class="filename">/home</code> as well as
|
|
discovering and enabling swap partitions, based on GPT
|
|
partition type GUIDs.</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><p><code class="filename">/usr/lib/systemd/system-generators/systemd-gpt-auto-generator</code></p></div><div class="refsect1"><a name="idm274691678976"></a><h2 id="Description">Description<a class="headerlink" title="Permalink to this headline" href="#Description">¶</a></h2><p><code class="filename">systemd-gpt-auto-generator</code>
|
|
is a generator that automatically discovers
|
|
<code class="filename">/home</code> 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
|
|
<a href="fstab.html"><span class="citerefentry"><span class="refentrytitle">fstab</span>(5)</span></a>)
|
|
or where the mount point is non-empty.</p><p>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.</p><p>This generator is useful for centralizing file
|
|
system configuration in the partition table and making
|
|
manual configuration in
|
|
<code class="filename">/etc/fstab</code> or suchlike
|
|
unnecessary.</p><p>This generator looks for swap partitions using
|
|
GPT type 0657fd6d-a4ab-43c4-84e50933c84b4f4f. It looks
|
|
for <code class="filename">/home</code> partitions using GPT
|
|
type 933ac7e1-2eb4-4f13-b8440e14e2aef915.</p><p><code class="filename">systemd-gpt-auto-generator</code>
|
|
implements the <a class="ulink" href="http://www.freedesktop.org/wiki/Software/systemd/Generators" target="_top">generator
|
|
specification</a>.</p></div><div class="refsect1"><a name="idm274691670384"></a><h2 id="See Also">See Also<a class="headerlink" title="Permalink to this headline" href="#See%20Also">¶</a></h2><p>
|
|
<a href="systemd.html"><span class="citerefentry"><span class="refentrytitle">systemd</span>(1)</span></a>,
|
|
<a href="systemd.mount.html"><span class="citerefentry"><span class="refentrytitle">systemd.mount</span>(5)</span></a>,
|
|
<a href="systemd.swap.html"><span class="citerefentry"><span class="refentrytitle">systemd.swap</span>(5)</span></a>,
|
|
<a href="systemd-efi-boot-generator.html"><span class="citerefentry"><span class="refentrytitle">systemd-efi-boot-generator</span>(8)</span></a>,
|
|
<a href="fstab.html"><span class="citerefentry"><span class="refentrytitle">fstab</span>(5)</span></a>
|
|
</p></div></div></body></html>
|