mlabel
Set an MS-DOS volume label for FAT and VFAT filesystems. More information: <https://www.gnu.org/software/mtools/manual/mtools.html#mlabel>.
Install
- All systems
-
curl cmd.cat/mlabel.sh
- Debian
-
apt-get install mtools
- Ubuntu
-
apt-get install mtools
- Alpine
-
apk add mtools
- Arch Linux
-
pacman -S mtools
- Kali Linux
-
apt-get install mtools
- CentOS
-
yum install mtools
- Fedora
-
dnf install mtools
- Windows (WSL2)
-
sudo apt-get update
sudo apt-get install mtools
- OS X
-
brew install mtools
- Raspbian
-
apt-get install mtools
- Dockerfile
- dockerfile.run/mlabel
- Docker
-
docker run cmd.cat/mlabel mlabel
powered by Commando
Set an MS-DOS volume label for FAT and VFAT filesystems. More information: <https://www.gnu.org/software/mtools/manual/mtools.html#mlabel>.
-
Set a filesystem label:
mlabel -i /dev/sda ::"new_label"
© tl;dr; authors and contributors