« Hardware/USB/Key/Label » : différence entre les versions
Aller à la navigation
Aller à la recherche
(Page créée avec « == vfat == Set Label '''KEY_1G''' to USB Key mlabel -i /dev/sdc1 ::KEY_1G Get Label from USB Key mlabel -s -i /dev/sdc1 :: ») |
(→vfat) |
||
| Ligne 1 : | Ligne 1 : | ||
== | == EXT2/3/4 partitions == | ||
Set Label '''KEY_1G''' to USB Key | Set Label '''KEY_1G''' to USB Key | ||
{{app|e2label}} /dev/<drive> KEY_1G | |||
Get Label from USB Key | Get Label from USB Key | ||
mlabel -s -i /dev/ | {{app|e2label}} /dev/<drive> | ||
== FAT/FAT32 partitions == | |||
This is done with the mlabel tool from the mtools package | |||
Set Label '''KEY_1G''' to USB Key | |||
{{app|mlabel}} -i /dev/<drive> ::KEY_1G | |||
Get Label from USB Key | |||
{{app|mlabel}} -s -i /dev/<drive> :: | |||
== NTFS partitions == | |||
Set Label '''KEY_1G''' to USB Key | |||
{{app|ntfslabel}} -f /dev/<drive> KEY_1G | |||
Get Label from USB Key | |||
{{app|ntfslabel}} /dev/<drive> | |||
Dernière version du 18 décembre 2012 à 09:43
EXT2/3/4 partitions
Set Label KEY_1G to USB Key
e2label /dev/<drive> KEY_1G
Get Label from USB Key
e2label /dev/<drive>
FAT/FAT32 partitions
This is done with the mlabel tool from the mtools package
Set Label KEY_1G to USB Key
mlabel -i /dev/<drive> ::KEY_1G
Get Label from USB Key
mlabel -s -i /dev/<drive> ::
NTFS partitions
Set Label KEY_1G to USB Key
ntfslabel -f /dev/<drive> KEY_1G
Get Label from USB Key
ntfslabel /dev/<drive>