Hi there, I am having problems with my cdrw/dvd drives... Currently, suse has set up mount points for them in media... drwxr-xr-x 2 root root 48 2002-12-21 14:47 cdrecorder drwxr-xr-x 2 root root 48 2002-09-12 23:14 cdrom drwxr-xr-x 2 root root 48 2002-12-21 14:47 dvd drwxr-xr-x 2 root root 48 2002-09-12 23:14 floppy However, these do not work properly. The only one that mounts is cdrecorder, but that mounts the dvd drive! Attempting to mount the other drive (there are only 2), i get a message similar to : /dev/dvd: Input/output error mount: I could not determine the filesystem type, and none was specified For some odd reason, there is a /dev/cdrom and /dev/dvd, but they just give me the error above too. I can mount the drives using the following : mount /dev/sr0 /media/dvd mount /dev/sr1 /media/cdrecorder However, i need a more permanent solution. How do i change the default mount points in /media ? Thanks for your help.
Stuart Urquhart
For some odd reason, there is a /dev/cdrom and /dev/dvd, but they just give me the error above too.
I can mount the drives using the following :
mount /dev/sr0 /media/dvd mount /dev/sr1 /media/cdrecorder
Run # ls -l /dev/dvd /dev/cdrom /dev/cdrecorder and remember the output. Then redefine them: # ln -sf /dev/sr0 /dev/dvd # ln -sf /dev/sr1 /dev/cdrom # ln -sf /dev/sr1 /dev/cdrecorder (It may not work but it's a safe operation which won't ruin your system.)
However, i need a more permanent solution. How do i change the default mount points in /media ?
You don't want to change mount points in /media. Programs use /dev/cdrom, ... to access or mount devices. These are symbolic links and they apparently point to wrong special files in your case. Thus you need to redefine them. One thing confuses me: /usr/src/linux/Documentation/devices.txt says: : 11 block SCSI CD-ROM devices : 0 = /dev/scd0 First SCSI CD-ROM : 1 = /dev/scd1 Second SCSI CD-ROM : ... : : The prefix /dev/sr (instead of /dev/scd) has been deprecated. Thus you should use # ln -sf /dev/scd0 /dev/dvd # ln -sf /dev/scd1 /dev/cdrom # ln -sf /dev/scd1 /dev/cdrecorder instead. But in my case the kernel still reports sr0 and not scd0 in /var/log/messages. -- Alexandr.Malusek@imv.liu.se
participants (2)
-
Alexandr Malusek
-
Stuart Urquhart