LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-02-2006, 04:54 AM   #1
DaneM
Member
 
Registered: Oct 2003
Location: Chico, CA, USA
Distribution: Linux Mint
Posts: 881

Rep: Reputation: 130Reputation: 130
How can I get konqueror's media:/ to list hard drives by label instead of size?


Hello.

I'm using KDE 3.5.2 on Gentoo with kernel 2.6.16-gentoo-r7. When I go to media:/ in konqueror, it lists all my storage devices by size, rather than by mount point or label. I find this very confusing. Is there any way to change this behavior?

Also, some of my drives appear by some other random names. For example, /dev/hdc1, which is mounted on /mnt/hdc1, is listed as "/". /dev/hde1, mounted on /mnt/E, is listed as "?PNG[][]", where "[]" represents an empty rectangle character. The first one kind-of makes sense, since its drive label is "/" (being mounted as / on my Ubuntu installation), but the second one has a drive label of "PERSONAL"; what's with all the weird characters?

Thanks for any help you can give me!

--Dane
 
Old 06-03-2006, 02:57 PM   #2
DaneM
Member
 
Registered: Oct 2003
Location: Chico, CA, USA
Distribution: Linux Mint
Posts: 881

Original Poster
Rep: Reputation: 130Reputation: 130
Fixed!

Hello.

I've fixed the problem. After using mtools to label /dev/hde1 (instructions below), I simply had to reboot. Now it shows the label properly.

How to use mtools to relabel a vfat partition (without reformatting):

1) install mtools (emerge mtools)
2) copy /etc/mtools/mtools.conf.example to /etc/mtools/mtools.conf (cp /etc/mtools/mtools.conf.example /etc/mtools/mtools.conf)
3) edit /etc/mtools/mtools.conf and add the following line:

Code:
drive e: file="/dev/hde1"
4) relabel the new drive (mlabel e:PERSONAL) (you can exchange "PERSONAL" for anything you want as long as it's 11 characters or less.)
5) check the new label (mlabel -s e
6) reboot

Cheers!

--Dane
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
2 hard drives, XP on my main sata drives, 10.2 on my IDE LILO doesnt show on boot up Dachy Slackware 14 01-03-2008 07:01 AM
cloning multiple hard drives using bootable media michapma Linux - Hardware 4 05-30-2006 09:15 AM
How to mount a special label of my external hard drive? faezeh Fedora 6 03-21-2005 04:22 AM
help adding new hard drive with label gfem Linux - Hardware 4 08-10-2004 10:54 AM
Upgrading hard drives on Software raid 1 boot drives. linuxboy123 Linux - General 0 12-11-2003 03:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration