Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ sr(4S) — OS/MP 4.1A3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

cdromio(4S)

fstab(5)

mount(8)

SR(4S)  —  DEVICES AND NETWORK INTERFACES

NAME

sr − driver for CDROM SCSI controller

CONFIG — Desktop SPARCsystems

disk      sr0 at scsibus0 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

AVAILABILITY

Desktop SPARCsystems and Sun-4/330 systems only. 

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 singled sided containing approximately 540 mega-bytes of data or 74 minutes of audio. 

The CDROM drive controller is set up as SCSI target 6.  There is only one logical unit number 0.  Therefore, the minor device number is always 0. 

Since all the other SCSI target ids have been reserved by the system, the system only supports one CDROM drive.  The device names are /dev/sr0 for block device and /dev/rsr0 for character device. 

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 has 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.  If the CDROM is in ISO 9660 or High Sierra Disk format, it can be mounted as a file system. 

FILES

/dev/sr0 block files

/dev/rsr0 raw files

SEE ALSO

cdromio(4S), fstab(5), mount(8)

Solbourne Computer, Inc.  —  7 October 1990

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026