{
    "content": [
        {
            "type": "text",
            "text": "# BINFMT.D (info)\n\n## NAME\n\nbinfmt.d - Configure additional binary formats for executables at boot\n\n## SYNOPSIS\n\n/etc/binfmt.d/*.conf\n/run/binfmt.d/*.conf\n/usr/lib/binfmt.d/*.conf\n\n## DESCRIPTION\n\nAt boot, systemd-binfmt.service(8) reads configuration files from the\nabove directories to register in the kernel additional binary formats\nfor executables.\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **CONFIGURATION FORMAT**\n- **CONFIGURATION DIRECTORIES AND PRECEDENCE**\n- **EXAMPLE**\n- **SEE ALSO**\n- **NOTES**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "BINFMT.D",
        "section": "",
        "mode": "info",
        "summary": "binfmt.d - Configure additional binary formats for executables at boot",
        "synopsis": "/etc/binfmt.d/*.conf\n/run/binfmt.d/*.conf\n/usr/lib/binfmt.d/*.conf",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [
            "Example 1. /etc/binfmt.d/wine.conf example:",
            "# Start WINE on Windows executables",
            ":DOSWin:M::MZ::/usr/bin/wine:"
        ],
        "see_also": [
            {
                "name": "systemd",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/systemd/1/json"
            },
            {
                "name": "systemd-binfmt.service",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/systemd-binfmt.service/8/json"
            },
            {
                "name": "systemd-delta",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/systemd-delta/1/json"
            },
            {
                "name": "wine",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/wine/8/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 6,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "CONFIGURATION FORMAT",
                "lines": 8,
                "subsections": []
            },
            {
                "name": "CONFIGURATION DIRECTORIES AND PRECEDENCE",
                "lines": 28,
                "subsections": []
            },
            {
                "name": "EXAMPLE",
                "lines": 5,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "NOTES",
                "lines": 4,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "binfmt.d - Configure additional binary formats for executables at boot\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "/etc/binfmt.d/*.conf\n\n/run/binfmt.d/*.conf\n\n/usr/lib/binfmt.d/*.conf\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "At boot, systemd-binfmt.service(8) reads configuration files from the\nabove directories to register in the kernel additional binary formats\nfor executables.\n",
                "subsections": []
            },
            "CONFIGURATION FORMAT": {
                "content": "Each file contains a list of binfmtmisc kernel binary format rules.\nConsult the kernel's binfmt-misc.rst[1] documentation file for more\ninformation on registration of additional binary formats and how to\nwrite rules.\n\nEmpty lines and lines beginning with ; and # are ignored. Note that\nthis means you may not use ; and # as delimiter in binary format rules.\n",
                "subsections": []
            },
            "CONFIGURATION DIRECTORIES AND PRECEDENCE": {
                "content": "Configuration files are read from directories in /etc/, /run/,\n/usr/local/lib/, and /lib/, in order of precedence, as listed in the\nSYNOPSIS section above. Files must have the \".conf\" extension. Files in\n/etc/ override files with the same name in /run/, /usr/local/lib/, and\n/lib/. Files in /run/ override files with the same name under /usr/.\n\nAll configuration files are sorted by their filename in lexicographic\norder, regardless of which of the directories they reside in. If\nmultiple files specify the same option, the entry in the file with the\nlexicographically latest name will take precedence. Thus, the\nconfiguration in a certain file may either be replaced completely (by\nplacing a file with the same name in a directory with higher priority),\nor individual settings might be changed (by specifying additional\nsettings in a file with a different name that is ordered later).\n\nPackages should install their configuration files in /usr/lib/\n(distribution packages) or /usr/local/lib/ (local installs). Files in\n/etc/ are reserved for the local administrator, who may use this logic\nto override the configuration files installed by vendor packages. It is\nrecommended to prefix all filenames with a two-digit number and a dash,\nto simplify the ordering of the files.\n\nIf the administrator wants to disable a configuration file supplied by\nthe vendor, the recommended way is to place a symlink to /dev/null in\nthe configuration directory in /etc/, with the same filename as the\nvendor configuration file. If the vendor configuration file is included\nin the initrd image, the image has to be regenerated.\n",
                "subsections": []
            },
            "EXAMPLE": {
                "content": "Example 1. /etc/binfmt.d/wine.conf example:\n\n# Start WINE on Windows executables\n:DOSWin:M::MZ::/usr/bin/wine:\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "systemd(1), systemd-binfmt.service(8), systemd-delta(1), wine(8)\n",
                "subsections": []
            },
            "NOTES": {
                "content": "1. binfmt-misc.rst\nhttps://www.kernel.org/doc/html/latest/admin-guide/binfmt-misc.html\n\nsystemd 249                                                        BINFMT.D(5)",
                "subsections": []
            }
        }
    }
}