{
    "content": [
        {
            "type": "text",
            "text": "# delpart (man)\n\n## NAME\n\ndelpart - tell the kernel to forget about a partition\n\n## SYNOPSIS\n\ndelpart device partition\n\n## DESCRIPTION\n\ndelpart asks the Linux kernel to forget about the specified partition (a number) on the\nspecified device. The command is a simple wrapper around the \"del partition\" ioctl.\n\n## TLDR\n\n> Ask the Linux kernel to forget about a partition.\n\n- Tell the kernel to forget about the first partition of `/dev/sda`:\n  `sudo delpart {{/dev/sda}} {{1}}`\n\n*Source: tldr-pages*\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **SEE ALSO**\n- **REPORTING BUGS**\n- **AVAILABILITY**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "delpart",
        "section": "",
        "mode": "man",
        "summary": "delpart - tell the kernel to forget about a partition",
        "synopsis": "delpart device partition",
        "tldr_summary": "Ask the Linux kernel to forget about a partition.",
        "tldr_examples": [
            {
                "description": "Tell the kernel to forget about the first partition of `/dev/sda`",
                "command": "sudo delpart {{/dev/sda}} {{1}}"
            }
        ],
        "tldr_source": "official",
        "flags": [],
        "examples": [],
        "see_also": [
            {
                "name": "addpart",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/addpart/8/json"
            },
            {
                "name": "fdisk",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/fdisk/8/json"
            },
            {
                "name": "parted",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/parted/8/json"
            },
            {
                "name": "partprobe",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/partprobe/8/json"
            },
            {
                "name": "partx",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/partx/8/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 5,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "REPORTING BUGS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "AVAILABILITY",
                "lines": 6,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "delpart - tell the kernel to forget about a partition\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "delpart device partition\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "delpart asks the Linux kernel to forget about the specified partition (a number) on the\nspecified device. The command is a simple wrapper around the \"del partition\" ioctl.\n\nThis command doesn’t manipulate partitions on a block device.\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "addpart(8), fdisk(8), parted(8), partprobe(8), partx(8)\n",
                "subsections": []
            },
            "REPORTING BUGS": {
                "content": "For bug reports, use the issue tracker at https://github.com/karelzak/util-linux/issues.\n",
                "subsections": []
            },
            "AVAILABILITY": {
                "content": "The delpart command is part of the util-linux package which can be downloaded from Linux\nKernel Archive <https://www.kernel.org/pub/linux/utils/util-linux/>.\n\n\n\nutil-linux 2.37.2                            2021-06-02                                   DELPART(8)",
                "subsections": []
            }
        }
    }
}