LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 02-28-2007, 02:49 PM   #1
xp_newbie
Member
 
Registered: Nov 2006
Posts: 86

Rep: Reputation: 16
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

Last edited by xp_newbie; 02-28-2007 at 02:53 PM.
 
Old 02-28-2007, 10:18 PM   #2
baldwonder
Member
 
Registered: Sep 2004
Location: Florida
Distribution: Slackware, VectorLinux, FreeBSD,Xubuntu
Posts: 69

Rep: Reputation: 15
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.*)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
/dev/hdc > /media/dvdram device busy/cant umount/not root Balarabay1 Linux - Hardware 3 11-20-2006 12:46 PM
I cannot access EITHER CD drive! And there's no /dev/hdc or /dev/hdd or /dev/cdrom! Dmalic Linux - Hardware 13 11-18-2005 07:11 PM
ln: creating symbolic link `/dev/dvd' to `/dev/hdc': Permission denied qazwsx27 Fedora 3 06-14-2005 02:09 PM
my dvd device is listed as /dev/Hdc Kilahchris Linux - Newbie 5 05-02-2004 11:08 PM
DVD-ROM on /dev/hdc Impaler Linux - Hardware 2 04-04-2004 06:03 AM


All times are GMT -5. The time now is 11:26 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration