Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
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?


  Search this Thread
Old 02-20-2004, 02:09 PM   #1
Registered: Oct 2003
Location: California
Distribution: Ubuntu
Posts: 582

Rep: Reputation: 30
finding a CDRom

many distros must figure out which drive is what, i have run into the same problem, i need to identify the /dev/ designation of a CDrom drive automatically on different machines using a script.

does anyone know how to go about doing this, in such a way that a script could accomplish it and make a symlink /dev/cdrom to it?
Old 02-21-2004, 01:39 PM   #2
koen plessers
Registered: Aug 2003
Location: Belgium
Distribution: Mint
Posts: 191

Rep: Reputation: 30

Have you tried: dmesg | grep CD-ROM ?
mine e.g. says:

hdc: ATAPI 52X CD-ROM drive, 128kB Cache, DMA
Uniform CD-ROM driver Revision: 3.12
Type: CD-ROM ANSI SCSI revision: 02
Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0

so I mount it with:

mount /dev/hdc /mnt/cdrom

Have a lot of fun

Koen Plessers


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
wine not finding my cdrom Vindane Linux - Software 2 03-04-2005 04:55 PM
Finding the CDROM rmartine Linux - Newbie 2 01-31-2005 07:33 PM
trouble finding cdrom techrolla Linux - Newbie 2 05-04-2004 12:33 AM
Finding my CDROM Paulsuk Linux - Hardware 5 04-19-2004 11:05 AM
finding cdrom - slack9.1 joshurl Linux - Laptop and Netbook 0 03-09-2004 06:33 PM

All times are GMT -5. The time now is 11:45 AM.

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