Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ cdctl(1) — BSD/386 1.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

CDCTL(1)                     BSD Reference Manual                     CDCTL(1)

NAME
     cdctl - control various functions of a cdrom drive

DESCRIPTION
     This program allows some functions of a cdrom drive to be controlled from
     the command line.  The options are:

     -s num: Play an audio CD starting at the given track number.

     -e num: Specify the end track number for playing an audio CD.  The de-
     fault is to play until the end of the disk.

     -t: Print the table of contents.  This is a listing of track numbers and
     durations.  Durations are listed in minutes:seconds:frames, where a frame
     is 1/75'th of a second.

     -h: Print a hash code that represents the table of contents.  You might
     use this to index a database of disk titles.

     -S: Stop playing

     -w: This flag causes cdctl to wait until the play operation is complete
     before exiting.

     -p: Print a status message every second while the play operation pro-
     ceeds, then exit when playing is finished.  You could use this in a pipe
     to make a fancier display program.

     -f filename: Specify the cdrom device name.  If omittied, cdctl will ex-
     amine the environment variable CDROM, and finally try /dev/rcdrom.  For a
     SCSI drive, use the C partition of the raw device, for example,
     /dev/rsd1c.

     To use a SCSI drive, cdctl must run as root.

BSDI BSD/386                    March 27, 1993                               1




























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