LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   My /dev/hdc DVD drive is mounted on /media/usbdisk ??? (https://www.linuxquestions.org/questions/linux-hardware-18/my-dev-hdc-dvd-drive-is-mounted-on-media-usbdisk-533352/)

xp_newbie 02-28-2007 02:49 PM

My /dev/hdc DVD drive is mounted on /media/usbdisk ???
 
I have 3 optical drives in my system (all IDE):
  1. /dev/hda (ide0 channel 0) - DVDRW drive
  2. /dev/hdb (ide0 channel 1) - CDRW drive
  3. /dev/hdc (ide1 channel 0) - DVDROM drive
When media is inserted, they get automatically mounted as follows:
  1. /dev/hda (DVDRW) => /media/cdrom0
  2. /dev/hdb (CDRW) => /media/cdrecorder
  3. /dev/hdc (DVD-ROM) => /media/usbdisk

Hmmm... I can live with that a DVDRW drive is mapped to a "cdrom" slot (cdrom0).

But... a DVD-ROM mapped to a usbdisk ??? This must be a configuration error, right?

How do I make /dev/hdc map (by default, as the system knows how to do automatically with /dev/hda and /dev/hdb) to something like /media/cdrom2 ? Is there a way to accomplish that?

The documentation for the Linux Filesystem Hierarchy which seems to explain what's going in the /media directory: http://www.tldp.org/LDP/Linux-Filesy...tml/media.html

More specifically, it says:

Quote:

The following directories, or symbolic links to directories, must be in /media,
if the corresponding subsystem is installed:

floppy - Floppy drive (optional)
cdrom - CD-ROM drive (optional)
cdrecorder - CD writer (optional)
zip - Zip drive (optional)
Now... in my system there is cdrecorder and cdrom (link to cdrom0) but no cdrom1... Instead there is only usbdisk. It seems that the automounter picks usbdisk, for lack of cdrom1, instead.

Any idea how the automounter works? Where can I read about it?

And most importantly - how can I streamline my system, so that the third drive does not use the /media/usbdisk slot

Some information about my system:
Hardware: ASUS P4P800-E Deluxe with 3GB RAM
Linux: Ubuntu 6.06 / kernel 2.6.15-28-686

Output of lsusb:
Quote:

Bus 005 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 001 Device 002: ID 04b8:011c Seiko Epson Corp. Perfection 3200
Bus 001 Device 001: ID 0000:0000

Thanks,
Alex

baldwonder 02-28-2007 10:18 PM

If I am not mistaken, the automounter uses autofs. Google-ing "configure autofs" or just "autofs" gave some good results as the top results for each search. They should tell you which files you need to edit so that things get mounted where you want them (I think the files are of the form /etc/auto.*)


All times are GMT -5. The time now is 10:41 AM.