« Hardware/USB/Key/Label » : différence entre les versions

De TartareFR
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 :: »)
 
 
Ligne 1 : Ligne 1 :
== vfat ==
== EXT2/3/4 partitions ==


Set Label '''KEY_1G''' to USB Key
Set Label '''KEY_1G''' to USB Key
  mlabel -i /dev/sdc1 ::KEY_1G
  {{app|e2label}} /dev/<drive> KEY_1G


Get Label from USB Key
Get Label from USB Key
  mlabel -s -i /dev/sdc1 ::
  {{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>