Saturday, March 21, 2015

How to list the label name ? how to change the label name ?



How to list the label name ?

e2label  <partitionname>
for ex :-  e2label /dev/sda


How to change the label ?

 e2label  <partitionname>   <newlabel name>

for ex :-  e2label  /dev/sda/labelname


How to mount a file system using label ?

mount -L <labelname>   <mount path>

Fstab entries for LABEL filesystem >

LABEL=<labelname>    <mountpath>     <filesystem type>     default 0 0

No comments:

Post a Comment