General Support - automount stryder - 31.08.2006, 04:09 Uhr Titel: automount
Since I'm on xfce most times, I mount cds the command line way - mount /cdrom which mounts the cd to /media/cdrom0 as per what the fstab says. Recently I found that thunar automounts cd drives and was eager to use it. It works, but with 1 small hitch. When I click on the icon to mount, I would get an error:
"Failed to determine the mount point for /dev/hdb"
When I close the error message and click the icon again, thunar will display the contents of the cd in /media/cdrom0.
This happens invariably.
I didn't think it is thunar's fault. More like whatever thunar is using to automount and so I changed to kde and tried to mount a cd in konqueror. When I click the icon it immediately goes to /media/hdb and was empty. Even if I created a link from /media/hdb to /media/cdrom0 it remains empty. And trying to mount the cd that I can see in /media in konqueror was futile. Clearly konqueror is unable to mount the cd drive and also assumes that it mounts in /media/hdb as invariably konqueror goes to /media/hdb when I click on the cd icon.
As far as I know there shouldn't be /dev/hdb and as far as I know cd drives don't map to hdb. And no, fstab doesn't mention /dev/hdb at all, merely /dev/cdrom to /media/cdrom0. So there must be some error in some config somewhere. If someone can point me in the right direction, I'll be grateful. It's not really a problem, after all I get there in 3 clicks. But I like things to work properly.
Thanks.
h2 - 31.08.2006, 04:35 Uhr Titel: RE: automount
It's changed, look in /dev, find cdrom, use readlink cdrom to find what it actually points to, probably /dev/hdc
Then update /etc/fstab to use the new way:
/dev/hdc /media/cdrom......
stryder - 31.08.2006, 04:44 Uhr Titel: RE: automount
h2, thank you very much!
I should have looked as you suggested but just couldn't bring myself to believe that /dev/cdrom is now /dev/hdb. So what happens to the second hard drive?
Anyway, a simple edit to fstab to /dev/hdb /media/cdrom0 solved the problem.
If the optical drive is labeled "hdb" it's attached to the primary IDE channel along with the hard drive. You find this often in notebooks and mini computers.