Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Jun 1998 15:25:13 +0200 (CEST)
From:      Stefan Eggers <seggers@semyam.dinoco.de>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Cc:        seggers@semyam.dinoco.de
Subject:   docs/6927: cdcontrol(1) man page is missing some environment variables
Message-ID:  <199806121325.PAA25468@semyam.dinoco.de>

next in thread | raw e-mail | index | archive | help

>Number:         6927
>Category:       docs
>Synopsis:       cdcontrol(1) man page is missing some environment variables
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jun 12 07:30:01 PDT 1998
>Last-Modified:
>Originator:     Stefan Eggers
>Organization:
none
>Release:        FreeBSD 2.2.6-STABLE i386
>Environment:

	A PC with a SCSI CD-ROM drive.  I think this is exact enough
for this type of problem.  ;-)

>Description:

	The man page for cdcontrol(1) is missing three environment
variables.  They are CDPLAY, CD_DRIVE and MUSIC_CD.  The do the same
as the documented DISC does.

>How-To-Repeat:

	Read the man page for cdcontrol(1) and compare it with the
code.

>Fix:

	Apply this to /usr/src/usr.sbin/cdcontrol/cdcontrol.1:

*** cdcontrol.1.ORIG	Mon Mar  9 14:50:37 1998
--- cdcontrol.1	Fri Jun 12 15:19:31 1998
***************
*** 20,28 ****
  or
  .Pa mcd0 . 
  .Pp
! If the device not specified, the environment variable 
  .Ev DISC
! will be used to find the cd device.
  .Pp
  If no command is given, then
  .Nm
--- 20,32 ----
  or
  .Pa mcd0 . 
  .Pp
! If the device not specified, the environment variables 
! .Ev MUSIC_CD ,
! .Ev CD_DRIVE ,
  .Ev DISC
! and
! .Ev CDPLAY
! will be used (in this order) to find the cd device.
  .Pp
  If no command is given, then
  .Nm
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199806121325.PAA25468>