Log In | Register | April 26, 2024

Share
 

Linux - March 17, 2011

Using linux e2label to label ext3 and ext2 partitions

In this tutorial you will be learning how to label your partitions. Labeling your partitions can be useful for you to easily identify what each partition is or does. It is a very simple and straightforward process.

In order to label your partitions you use the e2label utility. For instance, e2label <path_to_partition> <label_name>.

By convention, the label name should be the path to where you mount the partition. You can name the label anything you’d like though.

For this tutorial, I’m going to apply a label to my fourth partition.

e2label /dev/sda4 /data_mount

e2label 300x48 Using linux e2label to label ext3 and ext2 partitions

Notice I named my label /data_mount. This will allow me to easily identify the location of my fourth partition once I mount it to the /data_mount directory.

Send me a comment if you have any questions.

Post By: | FavoriteLoadingAdd to favorites

2 Comments

autobazar
Tuesday, April 5, 2011

This is very goog info as for me. Author – respect!

avtobazar
Friday, April 8, 2011

Thanks, it’s usefully for me.

Leave a Comment



Need Help? Ask a Question

Ask anything you want from how to questions to debug. We're here to help.

You Must Be Logged In To Post A Question.

Log In or Register