Saturday, March 28, 2009

How To Shoot Fast On A Camera

a Changing label (Label) to a partition in ext2 or ext3

The various partitions on your hard drive sometimes have an associated name or label (label ).

This tag can be useful to identify the partition or you simply want to create a rule in / etc / fstab to mount it.

We're going to worry about just how change labels to partitions ext2 or ext3 . Other types of partitions tengra different tools.


First install the tool you need:
$ sudo aptitude install e2fsprogs


Now that we have the tools we use an example: $ sudo
e2label / dev/sda6 OpenSuse111

The above example means that the partition / dev/sda6 OpenSuse111 assign the label.


Note: If you want a list of partitions of our storage devices:
$ ls-lR / dev / disk

or a list of labels:
$ ls-l / dev / disk / by-label

0 comments:

Post a Comment