1.\" 2.\" Copyright (c) 2000,2001,2002 S�ren Schmidt <sos@FreeBSD.org> 3.\" All rights reserved. 4.\" 5.\" Redistribution and use in source and binary forms, with or without 6.\" modification, are permitted provided that the following conditions 7.\" are met: 8.\" 1. Redistributions of source code must retain the above copyright 9.\" notice, this list of conditions and the following disclaimer, 10.\" without modification, immediately at the beginning of the file. 11.\" 2. Redistributions in binary form must reproduce the above copyright 12.\" notice, this list of conditions and the following disclaimer in the 13.\" documentation and/or other materials provided with the distribution. 14.\" 3. The name of the author may not be used to endorse or promote products 15.\" derived from this software without specific prior written permission. 16.\" 17.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 18.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 19.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 20.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 21.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 22.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 23.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 24.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 26.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27.\" 28.\" $FreeBSD: src/usr.sbin/burncd/burncd.8,v 1.6.2.8 2003/03/12 22:08:13 trhodes Exp $ 29.\" $DragonFly: src/usr.sbin/burncd/burncd.8,v 1.8 2008/05/02 02:05:07 swildner Exp $ 30.\" 31.Dd December 4, 2001 32.Os 33.Dt BURNCD 8 34.Sh NAME 35.Nm burncd 36.Nd control the ATAPI CD-R/RW driver 37.Sh SYNOPSIS 38.Nm 39.Op Fl delmnpqtv 40.Op Fl f Ar device 41.Op Fl s Ar speed 42.Op Ar command 43.Op Ar command Ar 44.Sh DESCRIPTION 45The 46.Nm 47utility is used to burn CD-R/RW media using the ATAPI cd driver. 48.Pp 49Available options and operands: 50.Bl -tag -width XXXXXXXXXXXX 51.It Fl d 52burn the CD-R/RW in DAO (disk at once) mode. 53.It Fl e 54eject the media when done. 55.It Fl f Ar device 56set the device to use for the burning process. 57.It Fl l 58read a list of image files from filename. 59.It Fl m 60close disk in multisession mode (otherwise disk is closed as singlesession). 61.It Fl n 62do not write gaps between data tracks in DAO mode. 63.It Fl p 64use preemphasis on audio tracks. 65.It Fl q 66quiet, do not print progress messages. 67.It Fl s Ar speed 68set the speed of the burner device. 69Defaults to 1. 70Specify 71.Dq Li max 72to use the drive's fastest speed. 73.It Fl t 74test write, do not actually write on the media. 75.It Fl v 76verbose, print extra progress messages. 77.El 78.Pp 79.Ar command 80may be one of: 81.Bl -tag -width XXXXXXXXXXXX 82.It Cm msinfo 83Show the first LBA of the last track on the media 84and the next writeable address on the media for use with the 85.Xr mkisofs 8 Ns 's 86.Fl C 87switch when adding additional data to ISO file systems with extra sessions. 88.It Cm blank 89Blank a CD-RW medium. 90This uses the fast blanking method, so data are not physically overwritten, 91only those areas that make the media appear blank for further usage are erased. 92.It Cm erase 93Erase a CD-RW medium. 94This erases the entire media. 95Can take up to 1 hour to finish. 96.It Cm fixate 97Fixate the medium so that the TOC is generated and the media can be used 98in an ordinary CD drive. 99The driver defaults to creating singlesession media (see 100.Fl m 101option). 102Should be the last command to 103.Nm 104as the program exits when this has been done. 105Ignored in DAO mode (see 106.Fl d 107option). 108.It Cm raw | audio 109Set the write mode to produce audio (raw mode) tracks for the following 110images on the command line. 111.It Cm data | mode1 112Set the write mode to produce data (mode1) tracks for the following 113image files 114on the command line. 115.It Cm mode2 116Set the write mode to produce data (mode2) tracks for the following 117image files 118on the command line. 119.It Cm XAmode1 120Set the write mode to produce data (XAmode1) tracks for the following image 121files on the command line. 122.It Cm XAmode2 123Set the write mode to produce data (XAmode2) tracks for the following image 124files on the command line. 125.It Cm vcd 126Set the write mode to produce VCD/SVCD tracks for the following image files 127on the command line. 128This automatically sets DAO 129.Pq Fl d 130and 131.Dq "no gaps" 132.Pq Fl n 133modes. 134.It Ar file 135All other arguments are treated as filenames of images to write to the media, 136or in case the 137.Fl l 138option is used as files containing lists of images. 139.El 140.Pp 141Files whose length are not a multiple of the current media blocksize are 142quietly zero padded to fit the blocksize requirement. 143The conventional filename 144.Fl 145refers to stdin, and can only be used once. 146.Sh EXAMPLES 147The typical usage for burning a data CD-R: 148.Pp 149.Dl "burncd -f /dev/acd0c data file1 fixate" 150.Pp 151The typical usage for burning an audio CD-R: 152.Pp 153.Dl "burncd -f /dev/acd0c audio file1 file2 file3 fixate" 154.Pp 155The typical usage for burning an audio CD-R in DAO mode: 156.Pp 157.Dl "burncd -f /dev/acd0c -d audio file1 file2 file3" 158.Pp 159The typical usage for burning a mixed mode CD-R: 160.Pp 161.Dl "burncd -f /dev/acd0c data file1 audio file2 file3 fixate" 162.Pp 163The typical usage for burning from a compressed image file on stdin: 164.Pp 165.Dl "gunzip -c file.iso.gz | burncd -f /dev/acd0c data - fixate" 166.Pp 167In the examples above, the files burned to data CD-Rs are assumed to 168be ISO9660 file systems. 169.Xr mkisofs 8 , 170available in the 171.Xr pkgsrc 7 172collection, is commonly used to create ISO9660 file system images 173from a given directory tree. 174.Sh HISTORY 175The 176.Nm 177utility appeared in 178.Fx 4.0 . 179.Sh AUTHORS 180The 181.Nm 182utility and this manpage was contributed by 183.An S\(/oren Schmidt , 184Denmark 185.Aq sos@FreeBSD.org . 186.Sh BUGS 187Probably, please report when found. 188