fatlabel
Sets or gets the label of a FAT32 partition. More information: <https://manned.org/fatlabel>.
Install
- All systems
-
curl cmd.cat/fatlabel.sh
- Debian
-
apt-get install dosfstools - Ubuntu
-
apt-get install dosfstools -
Alpine
-
apk add dosfstools - Arch Linux
-
pacman -S dosfstools - Kali Linux
-
apt-get install dosfstools - CentOS
-
yum install dosfstools - Fedora
-
dnf install dosfstools - Windows (WSL2)
-
sudo apt-get updatesudo apt-get install dosfstools - OS X
-
brew install dosfstools - Raspbian
-
apt-get install dosfstools - Docker
-
docker run cmd.cat/fatlabel fatlabelpowered by Commando
Sets or gets the label of a FAT32 partition. More information: <https://manned.org/fatlabel>.
-
Get the label of a FAT32 partition:
fatlabel /dev/sda1 -
Set the label of a FAT32 partition:
fatlabel /dev/sdc3 "new_label"
© tl;dr; authors and contributors