up | Inhaltsverzeichniss | Kommentar

Manual page for SR(4S)

sr - driver for CDROM SCSI controller

CONFIG -- Desktop SPARCsystems

disk      sr0 at scsibus0 target 6 lun 0

CONFIG -- SPARCsystem 600MP SERIES

disk      sr0 at scsibus0 target 6 lun 0
disk      sr1 at scsibus0 target 5 lun 0
disk      sr2 at scsibus0 target 1 lun 0
disk      sr3 at scsibus0 target 0 lun 0
disk      sr4 at scsibus1 target 6 lun 0
disk      sr5 at scsibus3 target 6 lun 0

CONFIG -- SUN-4/330 SYSTEMS

disk      sr0 at sm0 drive 060 flags 2

CONFIG -- SUN-4 SYSTEMS


disk      sr0 at sc0 drive 060 flags 2

disk      sr0 at si0 drive 060 flags 2

DESCRIPTION

CDROM is a removable read-only direct-access device connected to the system's SCSI bus. CDROM drives are designed to work with any disc that meets the Sony-Philips ``red-book'' or ``yellow-book'' documents. They can read CDROM data discs, digital audio discs (Audio CD's) or combined-mode discs (that is, some tracks are audio, some tracks are data). A CDROM disc is single-sided containing approximately 540 megabytes of data or 74 minutes of audio.

The first CDROM drive controller in a system is set up as SCSI target 6, with logical unit number 0. Addressing for additional controllers, when supported, is given above. For the first CDROM drive in a system, device names are /dev/sr0 for block device and /dev/rsr0 for character device. Additional drives, when supported, are designated /dev/sr1 for block device and /dev/rsr1 for character device, and so forth.

The device driver supports open.2v read.2v close.2v function calls through its block device and character device interface. In addition, it supports ioctl function calls through the character device interface. When the device is first opened, the CDROM drive's eject button will be disabled (which prevents the manual removal of the disc) until the last close.2v is called.

CDROM Drive Support

This driver supports the SONY CDU-8012 CDROM drive controller and other CDROM drives which have the same SCSI command set as the SONY CDU-8012. The type of CDROM drive is determined using the SCSI inquiry command.

There is no volume label stored on the CDROM. The disc geometry and paritioning information is always the same. The minor device number is always 0. If the CDROM is in ISO 9660 or High Sierra Disk format, it can be mounted as a file system.

FILES

/dev/sr[0-5]
block files
/dev/rsr[0-5]
raw files

SEE ALSO

cdromio.4s fstab.5 mount.8


index | Inhaltsverzeichniss | Kommentar

Created by unroff & hp-tools. © somebody (See intro for details). All Rights Reserved. Last modified 11/5/97