tune2fs -L 'mylabel' /dev/sdb1

Category: Administration

tune2fs -L 'mylabel' /dev/sdb1

Set a label on an ext2/3/4 filesystem

Sets a human-readable label on an ext4 filesystem — like giving the drive a name you can recognize.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.