man-pages/man8/systemd-volatile-root.service.8.html
2021-03-31 01:06:50 +01:00

88 lines
2.2 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of SYSTEMD-VOLATILE-ROOT.SERVICE</TITLE>
</HEAD><BODY>
<H1>SYSTEMD-VOLATILE-ROOT.SERVICE</H1>
Section: systemd-volatile-root.service (8)<BR>Updated: <BR><A HREF="#index">Index</A>
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>
systemd-volatile-root.service, systemd-volatile-root - Make the root file system volatile
<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>
<P>
systemd-volatile-root.service
<P>
/lib/systemd/systemd-volatile-root
<A NAME="lbAD">&nbsp;</A>
<H2>DESCRIPTION</H2>
<P>
systemd-volatile-root.service
is a service that replaces the root directory with a volatile memory file system (&quot;tmpfs&quot;), mounting the original (non-volatile)
/usr
inside it read-only. This way, vendor data from
/usr
is available as usual, but all configuration data in
/etc, all state data in
/var
and all other resources stored directly under the root directory are reset on boot and lost at shutdown, enabling fully stateless systems.
<P>
This service is only enabled if full volatile mode is selected, for example by specifying
&quot;systemd.volatile=yes&quot;
on the kernel command line. This service runs only in the initial RAM disk (&quot;initrd&quot;), before the system transitions to the host's root directory. Note that this service is not used if
&quot;systemd.volatile=state&quot;
is used, as in that mode the root directory is non-volatile.
<A NAME="lbAE">&nbsp;</A>
<H2>SEE ALSO</H2>
<P>
<B><A HREF="/cgi-bin/man/man2html?1+systemd">systemd</A></B>(1),
<B><A HREF="/cgi-bin/man/man2html?8+systemd-fstab-generator">systemd-fstab-generator</A></B>(8),
<B><A HREF="/cgi-bin/man/man2html?7+kernel-command-line">kernel-command-line</A></B>(7)
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="1"><A HREF="#lbAB">NAME</A><DD>
<DT id="2"><A HREF="#lbAC">SYNOPSIS</A><DD>
<DT id="3"><A HREF="#lbAD">DESCRIPTION</A><DD>
<DT id="4"><A HREF="#lbAE">SEE ALSO</A><DD>
</DL>
<HR>
This document was created by
<A HREF="/cgi-bin/man/man2html">man2html</A>,
using the manual pages.<BR>
Time: 00:06:17 GMT, March 31, 2021
</BODY>
</HTML>