| 1 |
'\" t |
| 2 |
.TH "SYSTEMD\-VOLATILE\-ROOT\&.SERVICE" "8" "" "systemd 261~rc3" "systemd-volatile-root.service" |
| 3 |
.\" ----------------------------------------------------------------- |
| 4 |
.\" * Define some portability stuff |
| 5 |
.\" ----------------------------------------------------------------- |
| 6 |
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 7 |
.\" http://bugs.debian.org/507673 |
| 8 |
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html |
| 9 |
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 10 |
.ie \n(.g .ds Aq \(aq |
| 11 |
.el .ds Aq ' |
| 12 |
.\" ----------------------------------------------------------------- |
| 13 |
.\" * set default formatting |
| 14 |
.\" ----------------------------------------------------------------- |
| 15 |
.\" disable hyphenation |
| 16 |
.nh |
| 17 |
.\" disable justification (adjust text to left margin only) |
| 18 |
.ad l |
| 19 |
.\" ----------------------------------------------------------------- |
| 20 |
.\" * MAIN CONTENT STARTS HERE * |
| 21 |
.\" ----------------------------------------------------------------- |
| 22 |
.SH "NAME" |
| 23 |
systemd-volatile-root.service, systemd-volatile-root \- Make the root file system volatile |
| 24 |
.SH "SYNOPSIS" |
| 25 |
.PP |
| 26 |
systemd\-volatile\-root\&.service |
| 27 |
.PP |
| 28 |
/usr/lib/systemd/systemd\-volatile\-root |
| 29 |
.SH "DESCRIPTION" |
| 30 |
.PP |
| 31 |
systemd\-volatile\-root\&.service |
| 32 |
is a service that replaces the root directory with a volatile memory file system ("tmpfs"), mounting the original (non\-volatile) |
| 33 |
/usr/ |
| 34 |
inside it read\-only\&. This way, vendor data from |
| 35 |
/usr/ |
| 36 |
is available as usual, but all configuration data in |
| 37 |
/etc/, all state data in |
| 38 |
/var/ |
| 39 |
and all other resources stored directly under the root directory are reset on boot and lost at shutdown, enabling fully stateless systems\&. |
| 40 |
.PP |
| 41 |
This service is only enabled if full volatile mode is selected, for example by specifying |
| 42 |
"systemd\&.volatile=yes" |
| 43 |
on the kernel command line\&. This service runs only in the initrd, before the system transitions to the host\*(Aqs root directory\&. Note that this service is not used if |
| 44 |
"systemd\&.volatile=state" |
| 45 |
is used, as in that mode the root directory is non\-volatile\&. |
| 46 |
.SH "SEE ALSO" |
| 47 |
.PP |
| 48 |
\fBsystemd\fR(1), \fBsystemd-fstab-generator\fR(8), \fBkernel-command-line\fR(7) |