systemd-volatile-root.service(8) — Linux manual page


SYSTEMD...SERVICE(8)  systemd-volatile-root.service SYSTEMD...SERVICE(8)

NAME         top

       systemd-volatile-root.service, systemd-volatile-root - Make the
       root file system volatile

SYNOPSIS         top



DESCRIPTION         top

       systemd-volatile-root.service is a service that replaces the root
       directory with a volatile memory file system ("tmpfs"), 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

       This service is only enabled if full volatile mode is selected,
       for example by specifying "systemd.volatile=yes" on the kernel
       command line. This service runs only in the initrd, before the
       system transitions to the host's root directory. Note that this
       service is not used if "systemd.volatile=state" is used, as in
       that mode the root directory is non-volatile.

SEE ALSO         top

       systemd(1), systemd-fstab-generator(8), kernel-command-line(7)

COLOPHON         top

       This page is part of the systemd (systemd system and service
       manager) project.  Information about the project can be found at
       ⟨⟩.  If you have
       a bug report for this manual page, see
       This page was obtained from the project's upstream Git repository
       ⟨⟩ on 2023-12-22.  (At that
       time, the date of the most recent commit that was found in the
       repository was 2023-12-22.)  If you discover any rendering
       problems in this HTML version of the page, or you believe there
       is a better or more up-to-date source for the page, or you have
       corrections or improvements to the information in this COLOPHON
       (which is not part of the original manual page), send a mail to

systemd 255                                         SYSTEMD...SERVICE(8)

Pages that refer to this page: kernel-command-line(7)systemd.directives(7)systemd.index(7)systemd-fstab-generator(8)