{
    "mode": "man",
    "parameter": "e2label",
    "section": "8",
    "url": "https://www.chedong.com/phpMan.php/man/e2label/8/json",
    "generated": "2026-09-18T06:17:47Z",
    "synopsis": "e2label device [ volume-label ]",
    "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": []
        }
    },
    "summary": "e2label - Change the label on an ext2/ext3/ext4 file system",
    "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"
        }
    ]
}