HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

e2label — Change the label on an ext2/ext3/ext4 filesystem. More information: <https://manned.org/e2label>.

Submitted by: @import:tldr-pages··
0
Viewed 0 times
thecommandext3e2labelclichangelabelext2
linux

Problem

How to use the e2label command: Change the label on an ext2/ext3/ext4 filesystem. More information: <https://manned.org/e2label>.

Solution

e2label — Change the label on an ext2/ext3/ext4 filesystem. More information: <https://manned.org/e2label>.

Change the volume label on a specific ext partition:
sudo e2label {{/dev/sda1}} "{{label_name}}"

Code Snippets

Change the volume label on a specific ext partition

sudo e2label {{/dev/sda1}} "{{label_name}}"

Context

tldr-pages: linux/e2label

Revisions (0)

No revisions yet.