CD(9)

NAME
cd - device driver for SCSI subsystem

DESCRIPTION
The cd device driver provides the SCSI subsystem a way to handle type 5 (T_READONLY) media. Some drives don't behave as the driver expects. See the section QUIRKS for info on possible flags.

QUIRKS
Each CD-ROM device can have different interpretations of the SCSI spec. This can lead to drives requiring special handling in the driver. The following is a list of quirks that the driver recognize. See scsiconf(9) for more information on how to add quirk entries.

CD_Q_NO_TOUCH
    This flag tell the driver not to probe the drive at attach time to see if there is a disk in the drive and find out what size it is.

CD_Q_BCD_TRACKS
    This flag is for broken drives that return the track numbers in packed BCD instead of straight decimal. If the drive seems to skip tracks (tracks 10-15 are skipped) then you have a drive that is in need of this flag.

FILES
/sys/scsi/cd.c
    files contains actual driver code
/sys/scsi/scsiconf.h
    contains the defines of the CD_Q_xxx quirk flags

SEE ALSO
cd(4), scsi(4), scsiconf(9)

HISTORY
The cd manual page first appeared in FreeBSD 2.2.

AUTHOR
This manual page was written by John-Mark Gurney <gurney_j@efn.org>.