I have 3 optical drives in my system (all IDE):
- /dev/hda (ide0 channel 0) - DVDRW drive
- /dev/hdb (ide0 channel 1) - CDRW drive
- /dev/hdc (ide1 channel 0) - DVDROM drive
When media is inserted, they get automatically mounted as follows:
- /dev/hda (DVDRW) => /media/cdrom0
- /dev/hdb (CDRW) => /media/cdrecorder
- /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:
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
(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:
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