1SYSTEMD-VOLATILE-ROOT.SERVsIyCsEt(e8m)d-volatile-root.SsYeSrTvEiMcDe-VOLATILE-ROOT.SERVICE(8)
2
3
4
6 systemd-volatile-root.service, systemd-volatile-root - Make the root
7 file system volatile
8
10 systemd-volatile-root.service
11
12 /usr/lib/systemd/systemd-volatile-root
13
15 systemd-volatile-root.service is a service that replaces the root
16 directory with a volatile memory file system ("tmpfs"), mounting the
17 original (non-volatile) /usr/ inside it read-only. This way, vendor
18 data from /usr/ is available as usual, but all configuration data in
19 /etc/, all state data in /var/ and all other resources stored directly
20 under the root directory are reset on boot and lost at shutdown,
21 enabling fully stateless systems.
22
23 This service is only enabled if full volatile mode is selected, for
24 example by specifying "systemd.volatile=yes" on the kernel command
25 line. This service runs only in the initial RAM disk ("initrd"), before
26 the system transitions to the host's root directory. Note that this
27 service is not used if "systemd.volatile=state" is used, as in that
28 mode the root directory is non-volatile.
29
31 systemd(1), systemd-fstab-generator(8), kernel-command-line(7)
32
33
34
35systemd 249 SYSTEMD-VOLATILE-ROOT.SERVICE(8)