History log of /freebsd/usr.sbin/cdcontrol/cdcontrol.c (Results 1 – 25 of 118)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: release/14.0.0
# 1d386b48 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: one-line .c pattern

Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/


# b03b271b 02-Jun-2023 Elyes Haouas <ehaouas@noos.fr>

cdcontrol: Fix typos

Signed-off-by: Elyes Haouas <ehaouas@noos.fr>
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/653


Revision tags: release/13.2.0, release/12.4.0, release/13.1.0, release/12.3.0, release/13.0.0, release/12.2.0, release/11.4.0, release/12.1.0, release/11.3.0, release/12.0.0, release/11.2.0, release/10.4.0, release/11.1.0, release/11.0.1, release/11.0.0
# 491cdc1b 27-Aug-2016 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r304700 through r304884.


# ed04e0c3 25-Aug-2016 Enji Cooper <ngie@FreeBSD.org>

MFhead @ r304815


# c650c2f3 25-Aug-2016 Alex Kozlov <ak@FreeBSD.org>

Remove last remnants of acd(4), mcd(4), and scd(4) drivers.

Approved by: jhb


Revision tags: release/10.3.0, release/10.2.0, release/10.1.0, release/9.3.0, release/10.0.0, release/9.2.0, release/8.4.0, release/9.1.0, release/8.3.0_cvs, release/8.3.0
# 8fa0b743 23-Jan-2012 Xin LI <delphij@FreeBSD.org>

IFC @230489 (pending review).


Revision tags: release/9.0.0
# 3ee1a36e 22-Nov-2011 Peter Grehan <grehan@FreeBSD.org>

IFC @ r227804

Pull in the virtio drivers from head.


# ee47d099 06-Nov-2011 Ed Schouten <ed@FreeBSD.org>

Make all functions and global variables static for cdcontrol(8).

While there, replace __const by const, which seems to be our preference
nowadays. Also fix some style(9) bugs by adding newlines and

Make all functions and global variables static for cdcontrol(8).

While there, replace __const by const, which seems to be our preference
nowadays. Also fix some style(9) bugs by adding newlines and removing
unneeded spaces from function declarations.

show more ...


Revision tags: release/7.4.0_cvs, release/8.2.0_cvs, release/7.4.0, release/8.2.0, release/8.1.0_cvs, release/8.1.0, release/7.3.0_cvs, release/7.3.0
# 1a0fda2b 04-Mar-2010 Dag-Erling Smørgrav <des@FreeBSD.org>

IFH@204581


# 9199c09a 06-Jan-2010 Warner Losh <imp@FreeBSD.org>

Merge from head at r201628.

# This hasn't been tested, and there are at least three bad commits
# that need to be backed out before the branch will be stable again.


# 18c2d3f2 05-Jan-2010 David Malone <dwmalone@FreeBSD.org>

New style function definitions.
Fix constness problem - don't know that pstatus won't change a string with no
whitespace.


Revision tags: release/8.0.0_cvs, release/8.0.0
# 874108ae 12-Nov-2009 Oleksandr Tymoshenko <gonzo@FreeBSD.org>

MFC @199204


# 1a225ffb 11-Nov-2009 Jaakko Heinonen <jh@FreeBSD.org>

MFC r197833:

When run() returns an error, print the error message also in
non-interactive mode. Previously error messages were printed only in
interactive mode.

PR: bin/124517
Approved by: trasz (

MFC r197833:

When run() returns an error, print the error message also in
non-interactive mode. Previously error messages were printed only in
interactive mode.

PR: bin/124517
Approved by: trasz (mentor)

show more ...


# 6e7b6303 07-Oct-2009 Jaakko Heinonen <jh@FreeBSD.org>

When run() returns an error, print the error message also in
non-interactive mode. Previously error messages were printed only in
interactive mode.

PR: bin/124517
Approved by: trasz (mentor)
MFC af

When run() returns an error, print the error message also in
non-interactive mode. Previously error messages were printed only in
interactive mode.

PR: bin/124517
Approved by: trasz (mentor)
MFC after: 1 month

show more ...


Revision tags: release/7.2.0_cvs, release/7.2.0, release/7.1.0_cvs, release/7.1.0, release/6.4.0_cvs, release/6.4.0
# c863386a 14-Jul-2008 Pietro Cerutti <gahr@FreeBSD.org>

- Enhance volume handling

PR: 125054
Submitted by: gahr
Approved by: cperciva


Revision tags: release/7.0.0_cvs, release/7.0.0
# b7498df2 19-Feb-2008 Ruslan Ermilov <ru@FreeBSD.org>

getopt(3) returns -1, not EOF.


Revision tags: release/6.3.0_cvs, release/6.3.0, release/6.2.0_cvs, release/6.2.0, release/5.5.0_cvs, release/5.5.0, release/6.1.0_cvs, release/6.1.0, release/6.0.0_cvs, release/6.0.0
# 2110d9c3 19-Oct-2005 Stefan Farfeleder <stefanf@FreeBSD.org>

Use the new name H_SETSIZE instead of the old H_EVENT to set the history
size.

PR: 86355


Revision tags: release/5.4.0_cvs, release/5.4.0, release/4.11.0_cvs, release/4.11.0, release/5.3.0_cvs, release/5.3.0, release/4.10.0_cvs, release/4.10.0
# de06a398 01-Apr-2004 David Malone <dwmalone@FreeBSD.org>

If the user doesn't specify a device and we can't open any of the defaults,
don't print an error using a uninitialised devbuf.


Revision tags: release/5.2.1_cvs, release/5.2.1, release/5.2.0_cvs, release/5.2.0
# f76c341d 17-Nov-2003 Eivind Eklund <eivind@FreeBSD.org>

* Auto-detect what device to use if none is specified
* Replace references to mcd0 with acd0 (doc only)
* Remove references to the "c" partition (doc only - code was already fixed)


Revision tags: release/4.9.0_cvs, release/4.9.0
# 16727322 01-Sep-2003 Maxim Konovalov <maxim@FreeBSD.org>

Retire 'c' partition for a CD device.

Submitted by: Craig Rodrigues <rodrigc@crodrigues.org>
Not objected by: -current


Revision tags: release/5.1.0_cvs, release/5.1.0
# b728350e 03-May-2003 David E. O'Brien <obrien@FreeBSD.org>

Use __FBSDID over rcsid[]. Protect copyright[] where needed.


Revision tags: release/4.8.0_cvs, release/4.8.0
# 07796aea 24-Mar-2003 Eivind Eklund <eivind@FreeBSD.org>

Fix bug that made cdcontrol play <track> play <track> - 1


Revision tags: release/5.0.0_cvs, release/5.0.0
# 89f35c14 03-Dec-2002 Dag-Erling Smørgrav <des@FreeBSD.org>

The default CD drive is /dev/cd0, not /dev/cd0c.

Reviewed by: jhb
Approved by: re (rwatson)


# 76ba4ecd 19-Oct-2002 Nate Lawson <njl@FreeBSD.org>

* Add CDRIOC{READ,WRITE}SPEED ioctls to cd(4). Units are in KB/sec.
* Change atapi-cd ioctls to use the same units.
* Change burncd, cdcontrol to convert CDROM speed to KB/sec before
calling the ioc

* Add CDRIOC{READ,WRITE}SPEED ioctls to cd(4). Units are in KB/sec.
* Change atapi-cd ioctls to use the same units.
* Change burncd, cdcontrol to convert CDROM speed to KB/sec before
calling the ioctl. Add a "max" speed option for their command lines.

This change does not break ABI but does change the units passed through
the ioctl so 3rd party software that uses cdrio.h will have to convert
(most likely by multiplying CDROM speed by 177 to get KB/s).

PR: kern/36845
Submitted by: Philipp Mergenthaler <p@i609a.hadiko.de> (CAM ioctls)
Reviewed by: sos, ken
MFC after: 1 month

show more ...


Revision tags: release/4.7.0_cvs
# 8d9b45ee 23-Sep-2002 Maxim Konovalov <maxim@FreeBSD.org>

Do not add a start offset time to the track duration time.

Submitted by: Dmitry Afanasiev, <KOT@MATPOCKuH.SPb.Ru>
MFC after: 2 weeks


12345