Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Sep 1998 03:12:55 -0700 (PDT)
From:      yohta@bres.tsukuba.ac.jp
To:        freebsd-gnats-submit@FreeBSD.ORG
Subject:   docs/8100: cdcontrol(1) show examples for CD-ROM device as cooked device.
Message-ID:  <199809301012.DAA06521@hub.freebsd.org>

index | next in thread | raw e-mail


>Number:         8100
>Category:       docs
>Synopsis:       cdcontrol(1) show examples for CD-ROM device as cooked device.
>Confidential:   no
>Severity:       non-critical
>Priority:       high
>Responsible:    freebsd-doc
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 30 03:20:00 PDT 1998
>Last-Modified:
>Originator:     OHTA Yoshihiko
>Organization:
University of Tsukuba
>Release:        FreeBSD-current
>Environment:
FreeBSD-2.2.6-RELEASE
>Description:
A man page of cdcontrol(1) shows example for CD-ROM drive name as below:
     -f discname
             Specify a device name, such as /dev/cd0c or mcd0. Both absolute
             path and relative to /dev filename are possible.  Suffix `c' is
             added to the device name if needed.

But /dev/cd0c is cooked device, and `r' is not supplied by the program.
It should be /dev/rcd0c or mcd0, sice we can't play audi CDs from cooked
devices.
>How-To-Repeat:
man 1 cdcontrol
>Fix:
I propose a patch to src/usr.sbin/cdcontrol/cdcontrol.1
--- cdcontrol.1~        Sun Jun 14 09:26:21 1998
+++ cdcontrol.1 Wed Sep 30 19:11:26 1998
@@ -40,12 +40,13 @@
 Verbose mode - print as much information as possible.
 .It Fl f Ar discname
 Specify a device name, such as
-.Pa /dev/cd0c
+.Pa /dev/rcd0c
 or
 .Pa mcd0 .
 Both absolute path and relative to
 .Pa /dev
-filename are possible.
+filename are possible, 
+but if you give absolute path, it should be a raw device. 
 Suffix `c' is added to the device name if needed.
 .El
 .Pp

>Audit-Trail:
>Unformatted:

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


home | help

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