Mount problem

James Richard Tyrer tyrerj at acm.org
Fri Dec 23 12:27:50 GMT 2005


Bruno Castro da Silva wrote:
> Hello all,
> 
> I have recently installed Kubuntu 5.10 and I'm running KDE 3.4.3. I'm 
> facing a problem while mounting my drives.
> 
> My machine has 2 drives: one which is a CDRW (/dev/hdd) and one wich is 
> also a DVD recorder (/dev/hdc).
> 
> My /etc/fstab is as follows:
> 
> /dev/hda2       /               ext3    defaults,errors=remount-ro 0       1
> /dev/hda5       none            swap    sw              0       0
> /dev/hdd        /media/cdrom0   udf,iso9660 user,noauto     0       0
> /dev/hdc        /media/cdrom1   udf,iso9660 user,noauto     0       0
> /dev/fd0        /media/floppy0  auto    rw,user,noauto  0       0
> 
> If I insert a disk into the DVD recorder, KDE promptly open a window 
> with media:/hdc and the automount works. Also, an icon appears on my 
> desktop.
> 
> However, if I insert a disk into the CDRW drive, a window with the 
> following error appears:
> 
> "An error occurred while loading media:/hdd:
> The file or folder media:/hdd does not exist."
> 
> My /media directory is like this:
> 
> lrwxrwxrwx  1 root root    6 2005-12-19 23:34 cdrom -> cdrom0
> drwxr-xr-x  2 root root 4096 2005-12-19 23:34 cdrom0
> drwxr-xr-x  2 root root 4096 2005-12-19 23:34 cdrom1
> lrwxrwxrwx  1 root root    7 2005-12-19 23:34 floppy -> floppy0
> drwxr-xr-x  2 root root 4096 2005-12-19 23:34 floppy0
> 
> 
> Can anyone give a hint on how to configure kde, or more specifically the 
> 'media-ioslave', so that it mounts my CDRW?
> 
> ps: not only it doesn't show the 'media' window for hdd, but it also 
> does not mount automatically. However, a manual 'mount /media/cdrom0' 
> works perfectly, but even then the media:/ does not show the drive icon!
> 
> 
> Any ideias, please? I've googled around and read the kde mailing list 
> but nothing helped.

Your fstab is wrong.  I don't know if that is the cause of the problem:

 > /dev/hdd        /media/cdrom0  auto   udf,iso9660 user,noauto 0 0
 > /dev/hdc        /media/cdrom1  auto   udf,iso9660 user,noauto 0 0

I don't know right off what "udf" does.  I have:

	defaults,ro,noauto,users,unhide

for my CD-ROM, naturally if it is "rw" you would change "ro" to "rw" (or 
just remove it since "rw" is the default).  So you would have:

/dev/hdd        /media/cdrom0  auto   defaults,noauto,users,unhide  0 0

I don't know if this change would make it work.

Some research indicates that UDF is another CD format so if your Kernel 
  has it and you need it you should probably add that as well.

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