Viewing drive parameters
The first thing to verify is that Linux sees the new drive, and the
easiest way to do that is to look at the list of the optical drives
that Linux thinks are present. To view parameters for the installed
drives, display /proc/sys/dev/cdrom/info. This file lists the
hardware capabilities of each optical drive and establishes that
Linux recognizes that the drive is present. Example 12-1 shows the info
file for a
PC with two optical drives installed: a CD writer as Secondary Master
and a DVD-RAM drive as Secondary Slave.
Example 12-1. The info file for a PC with a CD writer and a DVD-RAM drive installed
CD-ROM information, Id: cdrom.c 3.12 2000/10/18 drive name: sr0 hdd drive speed: 32 0 drive # of slots: 1 1 Can close tray: 1 1 Can open tray: 1 1 Can lock tray: 1 1 Can change speed: 1 1 Can select disk: 0 0 Can read multisession: 1 1 Can read MCN: 1 1 Reports media changed: 1 1 Can play audio: 1 1 Can write CD-R: 0 0 Can write CD-RW: 0 0 Can read DVD: 0 1 Can write DVD-R: 0 0 Can write DVD-RAM: 0 1
This example shows drive status immediately after the DVD-RAM drive was installed. The CD writer had already been configured to use the ide-scsi driver, which allows it to write discs as well as read them. Because the DVD-RAM drive is using the standard ide driver, it is shown as hdd rather than sr1.
Get PC Hardware in a Nutshell, 3rd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.