{
    "content": [
        {
            "type": "text",
            "text": "# systemd-hwdb (man)\n\n## NAME\n\nsystemd-hwdb - hardware database management tool\n\n## DESCRIPTION\n\nsystemd-hwdb expects a command and command specific arguments. It manages the binary hardware\ndatabase.\n\n## TLDR\n\n> Hardware database management tool.\n\n- Update the binary hardware database in `/etc/udev`:\n  `sudo systemd-hwdb update`\n- Query the hardware database and print the result for a specific modalias:\n  `systemd-hwdb query {{modalias}}`\n- Update the binary hardware database, returning a non-zero exit value on any parsing error:\n  `sudo systemd-hwdb {{-s|--strict}} update`\n- Update the binary hardware database in `/usr/lib/udev`:\n  `sudo systemd-hwdb --usr update`\n- Update the binary hardware database in the specified root path:\n  `systemd-hwdb {{-r|--root}} {{path/to/root}} update`\n\n*Source: tldr-pages*\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS** (1 subsections)\n- **DESCRIPTION**\n- **OPTIONS** (4 subsections)\n- **SEE ALSO**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "systemd-hwdb",
        "section": "",
        "mode": "man",
        "summary": "systemd-hwdb - hardware database management tool",
        "synopsis": "",
        "tldr_summary": "Hardware database management tool.",
        "tldr_examples": [
            {
                "description": "Update the binary hardware database in `/etc/udev`",
                "command": "sudo systemd-hwdb update"
            },
            {
                "description": "Query the hardware database and print the result for a specific modalias",
                "command": "systemd-hwdb query {{modalias}}"
            },
            {
                "description": "Update the binary hardware database, returning a non-zero exit value on any parsing error",
                "command": "sudo systemd-hwdb {{-s|--strict}} update"
            },
            {
                "description": "Update the binary hardware database in `/usr/lib/udev`",
                "command": "sudo systemd-hwdb --usr update"
            },
            {
                "description": "Update the binary hardware database in the specified root path",
                "command": "systemd-hwdb {{-r|--root}} {{path/to/root}} update"
            }
        ],
        "tldr_source": "official",
        "flags": [
            {
                "flag": "",
                "long": "--usr",
                "arg": null,
                "description": "Generate in /lib/udev instead of /etc/udev."
            },
            {
                "flag": "-r",
                "long": null,
                "arg": null,
                "description": "Alternate root path in the filesystem."
            },
            {
                "flag": "-s",
                "long": "--strict",
                "arg": null,
                "description": "When updating, return non-zero exit value on any parsing error."
            },
            {
                "flag": "-h",
                "long": "--help",
                "arg": null,
                "description": "Print a short help text and exit. systemd-hwdb [options] update Update the binary database. systemd-hwdb [options] query [MODALIAS] Query database and print result."
            }
        ],
        "examples": [],
        "see_also": [
            {
                "name": "hwdb",
                "section": "7",
                "url": "https://www.chedong.com/phpMan.php/man/hwdb/7/json"
            },
            {
                "name": "SYSTEMD-HWDB",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/SYSTEMD-HWDB/8/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 1,
                "subsections": [
                    {
                        "name": "systemd-hwdb [options] update",
                        "lines": 2
                    }
                ]
            },
            {
                "name": "DESCRIPTION",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "OPTIONS",
                "lines": 1,
                "subsections": [
                    {
                        "name": "--usr",
                        "lines": 2,
                        "long": "--usr"
                    },
                    {
                        "name": "-r --root=",
                        "lines": 2,
                        "flag": "-r"
                    },
                    {
                        "name": "-s --strict",
                        "lines": 2,
                        "flag": "-s",
                        "long": "--strict"
                    },
                    {
                        "name": "-h --help",
                        "lines": 8,
                        "flag": "-h",
                        "long": "--help"
                    }
                ]
            },
            {
                "name": "SEE ALSO",
                "lines": 5,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "systemd-hwdb - hardware database management tool\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "",
                "subsections": [
                    {
                        "name": "systemd-hwdb [options] update",
                        "content": "systemd-hwdb [options] query modalias\n"
                    }
                ]
            },
            "DESCRIPTION": {
                "content": "systemd-hwdb expects a command and command specific arguments. It manages the binary hardware\ndatabase.\n",
                "subsections": []
            },
            "OPTIONS": {
                "content": "",
                "subsections": [
                    {
                        "name": "--usr",
                        "content": "Generate in /lib/udev instead of /etc/udev.\n",
                        "long": "--usr"
                    },
                    {
                        "name": "-r --root=",
                        "content": "Alternate root path in the filesystem.\n",
                        "flag": "-r"
                    },
                    {
                        "name": "-s --strict",
                        "content": "When updating, return non-zero exit value on any parsing error.\n",
                        "flag": "-s",
                        "long": "--strict"
                    },
                    {
                        "name": "-h --help",
                        "content": "Print a short help text and exit.\n\nsystemd-hwdb [options] update\nUpdate the binary database.\n\nsystemd-hwdb [options] query [MODALIAS]\nQuery database and print result.\n",
                        "flag": "-h",
                        "long": "--help"
                    }
                ]
            },
            "SEE ALSO": {
                "content": "hwdb(7)\n\n\n\nsystemd 249                                                                          SYSTEMD-HWDB(8)",
                "subsections": []
            }
        }
    }
}