{
    "mode": "man",
    "parameter": "systemd-volatile-root",
    "section": "8",
    "url": "https://www.chedong.com/phpMan.php/man/systemd-volatile-root/8/json",
    "generated": "2026-10-04T14:28:43Z",
    "synopsis": "systemd-volatile-root.service\n/usr/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/usr/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 initrd,\nbefore the system transitions to the host's root directory. Note that this service is not\nused if \"systemd.volatile=state\" is used, as in that mode the root directory is non-volatile.\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "systemd(1), systemd-fstab-generator(8), kernel-command-line(7)\n\nsystemd 255                                                         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"
        }
    ]
}