2001-01-11 08:16:46 +00:00
|
|
|
|
.\"
|
2002-03-04 21:11:30 +00:00
|
|
|
|
.\" Copyright (c) 2000,2001,2002 S<>ren Schmidt <sos@FreeBSD.org>
|
2000-01-06 22:46:20 +00:00
|
|
|
|
.\" All rights reserved.
|
|
|
|
|
.\"
|
|
|
|
|
.\" Redistribution and use in source and binary forms, with or without
|
|
|
|
|
.\" modification, are permitted provided that the following conditions
|
|
|
|
|
.\" are met:
|
|
|
|
|
.\" 1. Redistributions of source code must retain the above copyright
|
|
|
|
|
.\" notice, this list of conditions and the following disclaimer,
|
|
|
|
|
.\" without modification, immediately at the beginning of the file.
|
|
|
|
|
.\" 2. Redistributions in binary form must reproduce the above copyright
|
|
|
|
|
.\" notice, this list of conditions and the following disclaimer in the
|
|
|
|
|
.\" documentation and/or other materials provided with the distribution.
|
|
|
|
|
.\" 3. The name of the author may not be used to endorse or promote products
|
|
|
|
|
.\" derived from this software without specific prior written permission.
|
|
|
|
|
.\"
|
|
|
|
|
.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
|
|
|
|
.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
|
|
|
|
.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
|
|
|
|
.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
|
|
|
|
|
.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
|
|
|
|
.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
|
|
|
.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|
|
|
|
.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
|
|
|
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
|
|
|
|
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
|
|
.\"
|
|
|
|
|
.\" $FreeBSD$
|
|
|
|
|
.\"
|
2005-05-02 11:59:21 +00:00
|
|
|
|
.Dd May 2, 2005
|
2000-01-06 22:46:20 +00:00
|
|
|
|
.Os
|
|
|
|
|
.Dt BURNCD 8
|
|
|
|
|
.Sh NAME
|
|
|
|
|
.Nm burncd
|
|
|
|
|
.Nd control the ATAPI CD-R/RW driver
|
|
|
|
|
.Sh SYNOPSIS
|
2000-11-20 20:10:44 +00:00
|
|
|
|
.Nm
|
2004-12-21 14:53:44 +00:00
|
|
|
|
.Op Fl deFlmnpqtv
|
2000-01-06 22:46:20 +00:00
|
|
|
|
.Op Fl f Ar device
|
|
|
|
|
.Op Fl s Ar speed
|
2001-01-11 08:16:46 +00:00
|
|
|
|
.Op Ar command
|
|
|
|
|
.Op Ar command Ar
|
2000-01-06 22:46:20 +00:00
|
|
|
|
.Sh DESCRIPTION
|
|
|
|
|
The
|
|
|
|
|
.Nm
|
|
|
|
|
utility is used to burn CD-R/RW media using the ATAPI cd driver.
|
|
|
|
|
.Pp
|
|
|
|
|
Available options and operands:
|
|
|
|
|
.Pp
|
|
|
|
|
.Bl -tag -width XXXXXXXXXXXX
|
2001-09-10 11:44:32 +00:00
|
|
|
|
.It Fl d
|
2001-09-11 11:52:49 +00:00
|
|
|
|
burn the CD-R/RW in DAO (disk at once) mode.
|
2000-01-06 22:46:20 +00:00
|
|
|
|
.It Fl e
|
2004-09-15 19:03:35 +00:00
|
|
|
|
eject the medium when done.
|
2001-09-11 11:52:49 +00:00
|
|
|
|
.It Fl f Ar device
|
|
|
|
|
set the device to use for the burning process.
|
2002-11-27 15:31:08 +00:00
|
|
|
|
.It Fl F
|
2002-08-08 07:59:24 +00:00
|
|
|
|
force operation regardless of warnings.
|
2001-01-11 08:16:46 +00:00
|
|
|
|
.It Fl l
|
2001-01-10 19:28:37 +00:00
|
|
|
|
read a list of image files from filename.
|
|
|
|
|
.It Fl m
|
|
|
|
|
close disk in multisession mode (otherwise disk is closed as singlesession).
|
2001-12-04 21:48:56 +00:00
|
|
|
|
.It Fl n
|
2001-12-08 16:58:48 +00:00
|
|
|
|
do not write gaps between data tracks in DAO mode.
|
2000-01-06 22:46:20 +00:00
|
|
|
|
.It Fl p
|
|
|
|
|
use preemphasis on audio tracks.
|
2001-09-10 11:44:32 +00:00
|
|
|
|
.It Fl q
|
|
|
|
|
quiet, do not print progress messages.
|
2001-09-11 11:52:49 +00:00
|
|
|
|
.It Fl s Ar speed
|
|
|
|
|
set the speed of the burner device.
|
2003-05-04 09:53:05 +00:00
|
|
|
|
Defaults to 4.
|
2002-11-27 15:31:08 +00:00
|
|
|
|
Specify
|
|
|
|
|
.Dq Li max
|
|
|
|
|
to use the drive's fastest speed.
|
2001-09-11 11:52:49 +00:00
|
|
|
|
.It Fl t
|
|
|
|
|
test write, do not actually write on the media.
|
2001-09-10 11:44:32 +00:00
|
|
|
|
.It Fl v
|
|
|
|
|
verbose, print extra progress messages.
|
2000-01-06 22:46:20 +00:00
|
|
|
|
.El
|
|
|
|
|
.Pp
|
2001-01-11 08:16:46 +00:00
|
|
|
|
.Ar command
|
2000-01-06 22:46:20 +00:00
|
|
|
|
may be one of:
|
|
|
|
|
.Pp
|
|
|
|
|
.Bl -tag -width XXXXXXXXXXXX
|
2001-01-11 08:16:46 +00:00
|
|
|
|
.It Cm msinfo
|
|
|
|
|
Show the first LBA of the last track on the media
|
2000-03-04 07:26:23 +00:00
|
|
|
|
and the next writeable address on the media for use with the
|
2001-04-21 21:14:52 +00:00
|
|
|
|
.Xr mkisofs 8 Ns 's
|
2001-01-11 08:16:46 +00:00
|
|
|
|
.Fl C
|
2002-12-12 17:26:04 +00:00
|
|
|
|
switch when adding additional data to ISO file systems with extra sessions.
|
2001-01-11 08:16:46 +00:00
|
|
|
|
.It Cm blank
|
2000-03-01 14:09:25 +00:00
|
|
|
|
Blank a CD-RW medium.
|
2001-01-11 08:16:46 +00:00
|
|
|
|
This uses the fast blanking method, so data are not physically overwritten,
|
|
|
|
|
only those areas that make the media appear blank for further usage are erased.
|
2004-09-15 19:03:35 +00:00
|
|
|
|
.It Cm eject
|
|
|
|
|
Eject the medium when done.
|
|
|
|
|
This is equivalent to the
|
|
|
|
|
.Fl e
|
|
|
|
|
option.
|
2001-01-11 08:16:46 +00:00
|
|
|
|
.It Cm erase
|
2001-01-10 19:28:37 +00:00
|
|
|
|
Erase a CD-RW medium.
|
2001-01-11 08:16:46 +00:00
|
|
|
|
This erases the entire media.
|
|
|
|
|
Can take up to 1 hour to finish.
|
2003-02-24 22:53:26 +00:00
|
|
|
|
.It Cm format Brq Cm dvd+rw | dvd-rw
|
2003-01-23 09:12:09 +00:00
|
|
|
|
Formats a DVD+RW or DVD-RW media to the default max size and 2048 byte blocks.
|
2002-11-27 15:31:08 +00:00
|
|
|
|
This operation can take a long time to finish.
|
|
|
|
|
Progress reporting is done during the process.
|
2001-01-11 08:16:46 +00:00
|
|
|
|
.It Cm fixate
|
|
|
|
|
Fixate the medium so that the TOC is generated and the media can be used
|
|
|
|
|
in an ordinary CD drive.
|
|
|
|
|
The driver defaults to creating singlesession media (see
|
|
|
|
|
.Fl m
|
|
|
|
|
option).
|
2001-09-11 11:52:49 +00:00
|
|
|
|
Ignored in DAO mode (see
|
2001-09-10 11:44:32 +00:00
|
|
|
|
.Fl d
|
|
|
|
|
option).
|
2001-01-11 08:16:46 +00:00
|
|
|
|
.It Cm raw | audio
|
|
|
|
|
Set the write mode to produce audio (raw mode) tracks for the following
|
|
|
|
|
images on the command line.
|
|
|
|
|
.It Cm data | mode1
|
|
|
|
|
Set the write mode to produce data (mode1) tracks for the following
|
|
|
|
|
image files
|
2000-01-06 22:46:20 +00:00
|
|
|
|
on the command line.
|
2001-01-11 08:16:46 +00:00
|
|
|
|
.It Cm mode2
|
|
|
|
|
Set the write mode to produce data (mode2) tracks for the following
|
|
|
|
|
image files
|
2000-02-02 13:38:02 +00:00
|
|
|
|
on the command line.
|
2001-01-11 08:16:46 +00:00
|
|
|
|
.It Cm XAmode1
|
2000-02-02 13:38:02 +00:00
|
|
|
|
Set the write mode to produce data (XAmode1) tracks for the following image
|
|
|
|
|
files on the command line.
|
2001-12-04 21:48:56 +00:00
|
|
|
|
.It Cm XAmode2
|
|
|
|
|
Set the write mode to produce data (XAmode2) tracks for the following image
|
|
|
|
|
files on the command line.
|
|
|
|
|
.It Cm vcd
|
2001-12-08 16:58:48 +00:00
|
|
|
|
Set the write mode to produce VCD/SVCD tracks for the following image files
|
|
|
|
|
on the command line.
|
|
|
|
|
This automatically sets DAO
|
|
|
|
|
.Pq Fl d
|
|
|
|
|
and
|
|
|
|
|
.Dq "no gaps"
|
|
|
|
|
.Pq Fl n
|
|
|
|
|
modes.
|
2002-08-08 07:59:24 +00:00
|
|
|
|
.It Cm dvdrw
|
2002-11-27 15:31:08 +00:00
|
|
|
|
Set the write mode to write a DVD+RW from the following image.
|
|
|
|
|
DVDs only have one track.
|
2001-01-11 08:16:46 +00:00
|
|
|
|
.It Ar file
|
|
|
|
|
All other arguments are treated as filenames of images to write to the media,
|
|
|
|
|
or in case the
|
|
|
|
|
.Fl l
|
|
|
|
|
option is used as files containing lists of images.
|
2000-01-06 22:46:20 +00:00
|
|
|
|
.El
|
|
|
|
|
.Pp
|
2001-01-11 08:16:46 +00:00
|
|
|
|
Files whose length are not a multiple of the current media blocksize are
|
|
|
|
|
quietly zero padded to fit the blocksize requirement.
|
|
|
|
|
The conventional filename
|
|
|
|
|
.Fl
|
|
|
|
|
refers to stdin, and can only be used once.
|
2005-01-18 20:02:45 +00:00
|
|
|
|
.Sh ENVIRONMENT
|
|
|
|
|
The following environment variables affect the execution of
|
|
|
|
|
.Nm :
|
|
|
|
|
.Bl -tag -width ".Ev CDROM"
|
|
|
|
|
.It Ev CDROM
|
|
|
|
|
The CD device to use if one is not specified with the
|
|
|
|
|
.Fl f
|
|
|
|
|
flag.
|
|
|
|
|
.El
|
2005-05-02 11:59:21 +00:00
|
|
|
|
.Sh FILES
|
|
|
|
|
.Bl -tag -width ".Pa /dev/acd0"
|
|
|
|
|
.It Pa /dev/acd0
|
|
|
|
|
The default device, if not overridden by the
|
|
|
|
|
.Ev CDROM
|
|
|
|
|
environment variable or the
|
|
|
|
|
.Fl f
|
|
|
|
|
option.
|
|
|
|
|
.El
|
2000-01-06 22:46:20 +00:00
|
|
|
|
.Sh EXAMPLES
|
|
|
|
|
The typical usage for burning a data CD-R:
|
2001-09-11 11:52:49 +00:00
|
|
|
|
.Pp
|
2003-11-18 02:33:27 +00:00
|
|
|
|
.Dl "burncd -f /dev/acd0 data file1 fixate"
|
2000-01-06 22:46:20 +00:00
|
|
|
|
.Pp
|
|
|
|
|
The typical usage for burning an audio CD-R:
|
2001-09-11 11:52:49 +00:00
|
|
|
|
.Pp
|
2003-11-18 02:33:27 +00:00
|
|
|
|
.Dl "burncd -f /dev/acd0 audio file1 file2 file3 fixate"
|
2000-01-06 22:46:20 +00:00
|
|
|
|
.Pp
|
2001-09-10 11:44:32 +00:00
|
|
|
|
The typical usage for burning an audio CD-R in DAO mode:
|
2001-09-11 11:52:49 +00:00
|
|
|
|
.Pp
|
2003-11-18 02:33:27 +00:00
|
|
|
|
.Dl "burncd -f /dev/acd0 -d audio file1 file2 file3"
|
2001-09-10 11:44:32 +00:00
|
|
|
|
.Pp
|
2000-01-06 22:46:20 +00:00
|
|
|
|
The typical usage for burning a mixed mode CD-R:
|
2001-09-11 11:52:49 +00:00
|
|
|
|
.Pp
|
2003-11-18 02:33:27 +00:00
|
|
|
|
.Dl "burncd -f /dev/acd0 data file1 audio file2 file3 fixate"
|
2000-01-06 22:46:20 +00:00
|
|
|
|
.Pp
|
2001-01-10 19:28:37 +00:00
|
|
|
|
The typical usage for burning from a compressed image file on stdin:
|
2001-09-11 11:52:49 +00:00
|
|
|
|
.Pp
|
2003-11-18 02:33:27 +00:00
|
|
|
|
.Dl "gunzip -c file.iso.gz | burncd -f /dev/acd0 data - fixate"
|
2002-03-28 11:03:42 +00:00
|
|
|
|
.Pp
|
|
|
|
|
In the examples above, the files burned to data CD-Rs are assumed to
|
2002-12-12 17:26:04 +00:00
|
|
|
|
be ISO9660 file systems.
|
2002-03-28 11:03:42 +00:00
|
|
|
|
.Xr mkisofs 8 ,
|
|
|
|
|
available in the
|
|
|
|
|
.Fx
|
2004-07-16 08:53:25 +00:00
|
|
|
|
Ports Collection,
|
|
|
|
|
as part of the
|
|
|
|
|
.Pa sysutils/cdrtools
|
|
|
|
|
port, is commonly used to create ISO9660 file system images
|
2002-03-28 11:03:42 +00:00
|
|
|
|
from a given directory tree.
|
2000-01-06 22:46:20 +00:00
|
|
|
|
.Sh HISTORY
|
2000-03-01 14:09:25 +00:00
|
|
|
|
The
|
2000-01-06 22:46:20 +00:00
|
|
|
|
.Nm
|
2002-07-14 14:47:15 +00:00
|
|
|
|
utility appeared in
|
2000-01-06 22:46:20 +00:00
|
|
|
|
.Fx 4.0 .
|
|
|
|
|
.Sh AUTHORS
|
2001-01-10 19:28:37 +00:00
|
|
|
|
The
|
|
|
|
|
.Nm
|
2002-07-14 14:47:15 +00:00
|
|
|
|
utility and this manpage was contributed by
|
2001-01-11 08:16:46 +00:00
|
|
|
|
.An S\(/oren Schmidt ,
|
|
|
|
|
Denmark
|
2001-08-07 15:48:51 +00:00
|
|
|
|
.Aq sos@FreeBSD.org .
|
2005-01-18 20:02:45 +00:00
|
|
|
|
.Sh BUGS
|
|
|
|
|
Probably, please report when found.
|