Wednesday, 13 March 2013

How to label a partition

A partition with a label will help us in identifying the correct partition in critical situations. The following steps can be followed to set label to a partition.

====
Syntax : e2label <partition> <labelname>
====

Example:   e2label /dev/hda5 /backup

In the above example /dev/hda5 partition will be labelled as /backup.

====
How to know the label of a partition?
====

e2label /dev/hda5 <press enter>

<the output will be> -> /backup

No comments:

Post a comment

Note: only a member of this blog may post a comment.