{
    "content": [
        {
            "type": "text",
            "text": "# e2label (man)\n\n## NAME\n\ne2label - Change the label on an ext2/ext3/ext4 file system\n\n## SYNOPSIS\n\ne2label device [ volume-label ]\n\n## DESCRIPTION\n\ne2label  will  display  or change the volume label on the ext2, ext3, or ext4 file system lo‐\ncated on device.\n\n## TLDR\n\n> Change the label on an ext2/ext3/ext4 filesystem.\n\n- Change the volume label on a specific ext partition:\n  `sudo e2label {{/dev/sda1}} \"{{label_name}}\"`\n\n*Source: tldr-pages*\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **AUTHOR**\n- **AVAILABILITY**\n- **SEE ALSO**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "e2label",
        "section": "",
        "mode": "man",
        "summary": "e2label - Change the label on an ext2/ext3/ext4 file system",
        "synopsis": "e2label device [ volume-label ]",
        "tldr_summary": "Change the label on an ext2/ext3/ext4 filesystem.",
        "tldr_examples": [
            {
                "description": "Change the volume label on a specific ext partition",
                "command": "sudo e2label {{/dev/sda1}} \"{{label_name}}\""
            }
        ],
        "tldr_source": "official",
        "flags": [],
        "examples": [],
        "see_also": [
            {
                "name": "mke2fs",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/mke2fs/8/json"
            },
            {
                "name": "tune2fs",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/tune2fs/8/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 14,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "AVAILABILITY",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 4,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "e2label - Change the label on an ext2/ext3/ext4 file system\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "e2label device [ volume-label ]\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "e2label  will  display  or change the volume label on the ext2, ext3, or ext4 file system lo‐\ncated on device.\n\nIf the optional argument volume-label is not present, e2label will simply display the current\nvolume label.\n\nIf the optional argument volume-label is present, then e2label will set the volume  label  to\nbe  volume-label.   Ext2  volume labels can be at most 16 characters long; if volume-label is\nlonger than 16 characters, e2label will truncate it and print a warning message.   For  other\nfile  systems  that  support  online  label manipulation and are mounted e2label will work as\nwell, but it will not attempt to truncate the volume-label at all.\n\nIt is also possible to set the volume label using the -L option of tune2fs(8).\n",
                "subsections": []
            },
            "AUTHOR": {
                "content": "e2label was written by Theodore Ts'o (tytso@mit.edu).\n",
                "subsections": []
            },
            "AVAILABILITY": {
                "content": "e2label is part of the e2fsprogs  package  and  is  available  from  http://e2fsprogs.source‐\nforge.net.\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "mke2fs(8), tune2fs(8)\n\n\nE2fsprogs version 1.47.0                    February 2023                                 E2LABEL(8)",
                "subsections": []
            }
        }
    }
}