{
    "mode": "man",
    "parameter": "systemd-volatile-root.service",
    "section": "8",
    "url": "https://www.chedong.com/phpMan.php/man/systemd-volatile-root.service/8/json",
    "generated": "2026-05-30T06:07:39Z",
    "synopsis": "systemd-volatile-root.service\n/lib/systemd/systemd-volatile-root",
    "sections": {
        "NAME": {
            "content": "systemd-volatile-root.service, systemd-volatile-root - Make the root file system volatile\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "systemd-volatile-root.service\n\n/lib/systemd/systemd-volatile-root\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "systemd-volatile-root.service is a service that replaces the root directory with a volatile\nmemory file system (\"tmpfs\"), mounting the original (non-volatile) /usr/ inside it read-only.\nThis way, vendor data from /usr/ is available as usual, but all configuration data in /etc/,\nall state data in /var/ and all other resources stored directly under the root directory are\nreset on boot and lost at shutdown, enabling fully stateless systems.\n\nThis service is only enabled if full volatile mode is selected, for example by specifying\n\"systemd.volatile=yes\" on the kernel command line. This service runs only in the initial RAM\ndisk (\"initrd\"), before the system transitions to the host's root directory. Note that this\nservice is not used if \"systemd.volatile=state\" is used, as in that mode the root directory\nis non-volatile.\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "systemd(1), systemd-fstab-generator(8), kernel-command-line(7)\n\n\n\nsystemd 249                                                         SYSTEMD-VOLATILE-ROOT.SERVICE(8)",
            "subsections": []
        }
    },
    "summary": "systemd-volatile-root.service, systemd-volatile-root - Make the root file system volatile",
    "flags": [],
    "examples": [],
    "see_also": [
        {
            "name": "systemd",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/systemd/1/json"
        },
        {
            "name": "systemd-fstab-generator",
            "section": "8",
            "url": "https://www.chedong.com/phpMan.php/man/systemd-fstab-generator/8/json"
        },
        {
            "name": "kernel-command-line",
            "section": "7",
            "url": "https://www.chedong.com/phpMan.php/man/kernel-command-line/7/json"
        },
        {
            "name": "SYSTEMD-VOLATILE-ROOT.SERVICE",
            "section": "8",
            "url": "https://www.chedong.com/phpMan.php/man/SYSTEMD-VOLATILE-ROOT.SERVICE/8/json"
        }
    ]
}