Every now and then, I upgrade my Ubuntu setup using a USB thumb drive, sometimes it doesn’t work as supposed as the drive isn’t “clean” so I zap it (and put back the filesytem they sold it to me):
dd if=/dev/zero of=/dev/sdb1 bs=512 count=8
mkfs -t vfat /dev/sdb1
And the label (the name) vanishes in a puff…
Now, how do you examine the current label, if any?
mlabel -i /dev/sdb1 -s ::
And, how do you put it back?
mlabel -i /dev/sdb1 ::My_Label
