LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   SUSE / openSUSE (https://www.linuxquestions.org/questions/suse-opensuse-60/)
-   -   issues with e2label and label shown in "My Computer Disk Info" openSUSE 11.2 (x86_64) (https://www.linuxquestions.org/questions/suse-opensuse-60/issues-with-e2label-and-label-shown-in-my-computer-disk-info-opensuse-11-2-x86_64-a-803882/)

fanzam 04-23-2010 10:29 PM

issues with e2label and label shown in "My Computer Disk Info" openSUSE 11.2 (x86_64)
 
I am predominantly a dinosaur (zOS, COBOL, CICS, SQL). Went pure Linux a year ago (dual booted until then). Played with many distros but currently enjoying "openSUSE 11.2 (x86_64)".

My issue is I wanted to add label to my sdb2 partition in hopes it would automount at boot. I typed "e2label /dev/sda2 /sdb2" and rebooted.

My computer showed "%sdb2" in the "Disk Information" section. I tried resetting with "e2label /dev/sda2 /" and got "%" in disk info.

I decided maybe I needed to use escape character and went with "e2label /dev/sda2 //" resulting in "%%".

System seems to run fine even though this is my boot (root) partition but it is annoying.

What is going on here?

tks in advance

fanzam 04-24-2010 07:33 AM

never mind, dear. i figured it out
 
I wiped out the label with 'e2label /dev/sda2 "" ' and it is all better now.

jdmcdaniel3 04-24-2010 09:03 AM

You can not use a slash in a Volume label. The command:

e2label /dev/sda2 mydisk

will work where you use only standard numbers and/or characters for your disk volume label. No matter what the disk name might be, this is not how a disk is auto-mounted. For a disk to mount at boot time there must be an entry in your file /ect/fstab. You can use the Disk Partition program to set an auto-mount point for you in fstab without formatting or changing the partition in any way.

Thank You,


All times are GMT -5. The time now is 05:01 AM.