01.05.2025, 16:16 UhrDeutsch | English
Hallo Gast [ Registrierung | Anmelden ]

Neues Thema eröffnen   Neue Antwort erstellen
Vorheriges Thema anzeigen Druckerfreundliche Version Einloggen, um private Nachrichten zu lesen Nächstes Thema anzeigen
Autor Nachricht
stryder
Titel: automount  BeitragVerfasst am: 31.08.2006, 04:09 Uhr



Anmeldung: 26. Jun 2005
Beiträge: 389

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.
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
h2
Titel: RE: automount  BeitragVerfasst am: 31.08.2006, 04:35 Uhr



Anmeldung: 12. Mar 2005
Beiträge: 1005

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......

_________________
Read more on dist-upgrades using du-fixes-h2.sh script.
New: rdiff-backup script
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
stryder
Titel: RE: automount  BeitragVerfasst am: 31.08.2006, 04:44 Uhr



Anmeldung: 26. Jun 2005
Beiträge: 389

h2, thank you very much! Smilie

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.

Smilie Again, thanks.
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
ockham23
Titel: RE: automount  BeitragVerfasst am: 31.08.2006, 08:13 Uhr



Anmeldung: 25. Mar 2005
Beiträge: 2133

Zitat:
So what happens to the second hard drive?
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.

_________________
And I ain't got no worries 'cause I ain't in no hurry at all (Doobie Brothers, "Black Water").
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
Beiträge vom vorherigen Thema anzeigen:     
Gehe zu:  
Alle Zeiten sind GMT + 1 Stunde
Neues Thema eröffnen   Neue Antwort erstellen
Vorheriges Thema anzeigen Druckerfreundliche Version Einloggen, um private Nachrichten zu lesen Nächstes Thema anzeigen
PNphpBB2 © 2003-2007 
 
Deutsch | English
Logos and trademarks are the property of their respective owners, comments are property of their posters, the rest is © 2004 - 2006 by Jörg Schirottke (Kano).
Consult Impressum and Legal Terms for details. Kanotix is Free Software released under the GNU/GPL license.
This CMS is powered by PostNuke, all themes used at this site are released under the GNU/GPL license. designed and hosted by w3you. Our web server is running on Kanotix64-2006.