Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
volume_label_datentraegerbezeichnung_von_usb-sticks_aendern [2010/10/12 08:01] 127.0.0.1 Externe Bearbeitung |
volume_label_datentraegerbezeichnung_von_usb-sticks_aendern [2017/04/15 20:29] (aktuell) admin |
||
---|---|---|---|
Zeile 2: | Zeile 2: | ||
https://help.ubuntu.com/community/RenameUSBDrive | https://help.ubuntu.com/community/RenameUSBDrive | ||
===== FAT16 and FAT32 ===== | ===== FAT16 and FAT32 ===== | ||
+ | |||
+ | Fertiges Skript: https://wiki.ubuntuusers.de/_attachment/?target=Labels%2Fset_msdos_label.sh | ||
+ | |||
**Check the current label** | **Check the current label** | ||
Zeile 10: | Zeile 13: | ||
Note that we're using the special "::" drive which allows us to specify the device descriptor on the command line; otherwise we'd have to edit ~/.mtoolsrc to assign a drive letter (see Option 2 under "Change the label"). | Note that we're using the special "::" drive which allows us to specify the device descriptor on the command line; otherwise we'd have to edit ~/.mtoolsrc to assign a drive letter (see Option 2 under "Change the label"). | ||
- | **Change the label** | + | ===== Change the label ===== |
Option 1 | Option 1 | ||
Zeile 18: | Zeile 21: | ||
sudo mlabel -i <device> ::<label> | sudo mlabel -i <device> ::<label> | ||
- | ex: sudo mlabel -i /dev/sdb1 ::my_external | + | 2x ausführen: sudo mlabel -i /dev/sdb1 ::my_label |
Ignore the "Volume label is XYZ" output as this is the old label. Jump to the Verify the Change section below. | Ignore the "Volume label is XYZ" output as this is the old label. Jump to the Verify the Change section below. |