e2label

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

Install

All systems
curl cmd.cat/e2label.sh
Debian Debian
apt-get install e2fsprogs
Ubuntu
apt-get install e2fsprogs
Alpine
apk add e2fsprogs
Arch Arch Linux
pacman -S e2fsprogs
image/svg+xml Kali Linux
apt-get install e2fsprogs
CentOS
yum install e2fsprogs
Fedora
dnf install e2fsprogs
Windows (WSL2)
sudo apt-get update sudo apt-get install e2fsprogs
OS X
brew install e2fsprogs
Raspbian
apt-get install e2fsprogs
Docker
docker run cmd.cat/e2label e2label powered by Commando

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

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

© tl;dr; authors and contributors