Cdrom detected like a hard drive

James Richard Tyrer tyrerj at acm.org
Tue Aug 2 12:43:28 BST 2005


Fab . wrote:
> Hi,
> I use KDE 3.4.1 and I wanted to display my CDplayer and CDburner icons on my desktop. I checked the appropriate boxes in the "Desktop configuration window" but i only got the icon of the CDburner... So I looked into the media/: folder and found that my CDplayer is detected like a hard drive (icon and name !!!).
> Here are some lines on my config files if you needed it...
> 
> /etc/fstab:
> (...)
> /dev/cd         /mnt/Lecteur_CD         iso9660         noauto,ro,user  0 0 
> /dev/cdrw       /mnt/Graveur_CD         iso9660         noauto,ro,user  0 0
> (...)

That is odd.  Did you notice that your CDburner is "ro".  Might not have 
anything to do with this problem.

The icons are supposedly determined by the device.  I have my CDplayer: 
"/dev/cdrom" which is a link to the the actual device (/dev/hdc) and it 
shows up correctly.

Regarding the CDburner, this is the code:

	if ( devNode.find("cdwriter")!=-1 || 	
	mountPoint.find("cdwriter")!=-1
	  || devNode.find("cdrecorder")!=-1 ||
	mountPoint.find("cdrecorder")!=-1
	  || devNode.find("cdburner")!=-1 ||
	mountPoint.find("cdburner")!=-1
	  || devNode.find("cdrw")!=-1 || mountPoint.find("cdrw")!=-1
	   )
	{
		mimeType = "media/cdwriter";
		label = i18n("CD Recorder");
	}

It lists "cdrw" so I can't see why it wouldn't work.  But, you might try 
one of the other ones.

-- 
JRT
___________________________________________________
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.




More information about the kde mailing list