disk labels for kubuntu

Asked by achapp

hello ,
             I am using ubuntu 7.04 on amd 64 architecture . I have both Genome and Kde sessions installed . The problem I am facing is , When I login in the genome session the desktop contains the hard disk partitions which are mounted and they are displayed by their label names rather than the physical names (hda1 ,hda3 etc) . This form of representation is easier for a relatively new user like me to identify the drives and gives clearly distinguish each drive . But when I login in the kde session and search the storage devices in the system menu , the partitions are displayed by their physical names . This is little bit confusing for me . i would like to display my partitions to be displayed by their label

thanking you
with regards
ashraf

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
- (a--deactivatedaccount) said :
#1

Maybe you can try this..

tune2fs -L name_of_label_for_drive

(check man of tune2fs)

Revision history for this message
- (a--deactivatedaccount) said :
#2

I also came across another command last night.

(does the same thing)

e2label

Revision history for this message
Rodney (rciwan) said :
#3

If the disk is formated as ext3, you can go to terminal and then label the disk to whatever you want it to be.
The following worked for me after I opened up the terminal:
cd /media
ls -al
Now, look at the output of this to see what the disk is identified at, probably as hdaX where x is a number,
now type
sudo e2label /dev/hdaX (Your_choice_of_label)
after this, you will need to restart and then the disk should show up with the label you choose.
If you have gparted installed (it is available free) it will show the label assigned . You can run Gparted and exit it without making any changes to your disk just to see what format is being used and it will also show the label if it exists.

Can you help with this problem?

Provide an answer of your own, or ask achapp for more information if necessary.

To post a message you must log in.