]> CyberLeo.Net >> Repos - FreeBSD/releng/9.2.git/blob - usr.sbin/burncd/burncd.8
- Copy stable/9 to releng/9.2 as part of the 9.2-RELEASE cycle.
[FreeBSD/releng/9.2.git] / usr.sbin / burncd / burncd.8
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$
29 .\"
30 .Dd October 9, 2011
31 .Dt BURNCD 8
32 .Os
33 .Sh NAME
34 .Nm burncd
35 .Nd control the ATAPI CD-R/RW driver
36 .Pp
37 This utility was
38 .Em deprecated
39 in
40 .Fx 9.0 .
41 See
42 .Sx NOTES .
43 .Sh SYNOPSIS
44 .Nm
45 .Op Fl deFlmnpqtv
46 .Op Fl f Ar device
47 .Op Fl s Ar speed
48 .Op Ar command
49 .Op Ar command Ar
50 .Sh DESCRIPTION
51 The
52 .Nm
53 utility is used to burn CD-R/RW media using the ATAPI cd driver.
54 .Pp
55 Available options and operands:
56 .Bl -tag -width XXXXXXXXXXXX
57 .It Fl d
58 burn the CD-R/RW in DAO (disk at once) mode.
59 .It Fl e
60 eject the medium when done.
61 .It Fl f Ar device
62 set the device to use for the burning process.
63 .It Fl F
64 force operation regardless of warnings.
65 .It Fl l
66 read a list of image files from filename.
67 .It Fl m
68 close disk in multisession mode (otherwise disk is closed as singlesession).
69 .It Fl n
70 do not write gaps between data tracks in DAO mode.
71 .It Fl p
72 use preemphasis on audio tracks.
73 .It Fl q
74 quiet, do not print progress messages.
75 .It Fl s Ar speed
76 set the speed of the burner device.
77 Defaults to 4.
78 Specify
79 .Dq Li max
80 to use the drive's fastest speed.
81 .It Fl t
82 test write, do not actually write on the media.
83 .It Fl v
84 verbose, print extra progress messages.
85 .El
86 .Pp
87 .Ar command
88 may be one of:
89 .Bl -tag -width XXXXXXXXXXXX
90 .It Cm msinfo
91 Show the first LBA of the last track on the media
92 and the next writeable address on the media for use with the
93 .Xr mkisofs 8 Ns 's Pq Pa ports/sysutils/cdrtools
94 .Fl C
95 switch when adding additional data to ISO file systems with extra sessions.
96 .It Cm blank
97 Blank a CD-RW medium.
98 This uses the fast blanking method, so data are not physically overwritten,
99 only those areas that make the media appear blank for further usage are erased.
100 .It Cm eject
101 Eject the medium when done.
102 This is equivalent to the
103 .Fl e
104 option.
105 .It Cm erase
106 Erase a CD-RW medium.
107 This erases the entire media.
108 Can take up to 1 hour to finish.
109 .It Cm format Brq Cm dvd+rw | dvd-rw
110 Formats a DVD+RW or DVD-RW media to the default max size and 2048 byte blocks.
111 This operation can take a long time to finish.
112 Progress reporting is done during the process.
113 .It Cm fixate
114 Fixate the medium so that the TOC is generated and the media can be used
115 in an ordinary CD drive.
116 The driver defaults to creating singlesession media (see
117 .Fl m
118 option).
119 Ignored in DAO mode (see
120 .Fl d
121 option).
122 .It Cm raw | audio
123 Set the write mode to produce audio (raw mode) tracks for the following
124 images on the command line.
125 .It Cm data | mode1
126 Set the write mode to produce data (mode1) tracks for the following
127 image files
128 on the command line.
129 .It Cm mode2
130 Set the write mode to produce data (mode2) tracks for the following
131 image files
132 on the command line.
133 .It Cm XAmode1
134 Set the write mode to produce data (XAmode1) tracks for the following image
135 files on the command line.
136 .It Cm XAmode2
137 Set the write mode to produce data (XAmode2) tracks for the following image
138 files on the command line.
139 .It Cm vcd
140 Set the write mode to produce VCD/SVCD tracks for the following image files
141 on the command line.
142 This automatically sets DAO
143 .Pq Fl d
144 and
145 .Dq "no gaps"
146 .Pq Fl n
147 modes.
148 .It Cm dvdrw
149 Set the write mode to write a DVD+RW from the following image.
150 DVDs only have one track.
151 .It Ar file
152 All other arguments are treated as filenames of images to write to the media,
153 or in case the
154 .Fl l
155 option is used as files containing lists of images.
156 .El
157 .Pp
158 Files whose length are not a multiple of the current media blocksize are
159 quietly zero padded to fit the blocksize requirement.
160 The conventional filename
161 .Fl
162 refers to stdin, and can only be used once.
163 .Sh ENVIRONMENT
164 The following environment variables affect the execution of
165 .Nm :
166 .Bl -tag -width ".Ev BURNCD_SPEED"
167 .It Ev BURNCD_SPEED
168 The write speed to use if one is not specified with the
169 .Fl s
170 flag.
171 .It Ev CDROM
172 The CD device to use if one is not specified with the
173 .Fl f
174 flag.
175 .El
176 .Sh FILES
177 .Bl -tag -width ".Pa /dev/acd0"
178 .It Pa /dev/acd0
179 The default device, if not overridden by the
180 .Ev CDROM
181 environment variable or the
182 .Fl f
183 option.
184 .El
185 .Sh EXAMPLES
186 The typical usage for burning a data CD-R:
187 .Pp
188 .Dl "burncd -f /dev/acd0 data file1 fixate"
189 .Pp
190 The typical usage for burning an audio CD-R:
191 .Pp
192 .Dl "burncd -f /dev/acd0 audio file1 file2 file3 fixate"
193 .Pp
194 The typical usage for burning an audio CD-R in DAO mode:
195 .Pp
196 .Dl "burncd -f /dev/acd0 -d audio file1 file2 file3"
197 .Pp
198 The typical usage for burning a mixed mode CD-R:
199 .Pp
200 .Dl "burncd -f /dev/acd0 data file1 audio file2 file3 fixate"
201 .Pp
202 The typical usage for burning from a compressed image file on stdin:
203 .Pp
204 .Dl "gunzip -c file.iso.gz | burncd -f /dev/acd0 data - fixate"
205 .Pp
206 In the examples above, the files burned to data CD-Rs are assumed to
207 be ISO9660 file systems.
208 .Xr mkisofs 8 ,
209 available in the
210 .Fx
211 Ports Collection,
212 as part of the
213 .Pa sysutils/cdrtools
214 port, is commonly used to create ISO9660 file system images
215 from a given directory tree.
216 .Sh HISTORY
217 The
218 .Nm
219 utility appeared in
220 .Fx 4.0 .
221 .Pp
222 .Nm
223 was deprecated in
224 .Fx 9.0 .
225 .Sh AUTHORS
226 The
227 .Nm
228 utility and this manpage was contributed by
229 .An S\(/oren Schmidt ,
230 Denmark
231 .Aq sos@FreeBSD.org .
232 .Sh BUGS
233 Probably, please report when found.
234 .Sh NOTES
235 When
236 .Bd -ragged -offset indent
237 .Cd "options ATA_CAM"
238 .Ed
239 .Pp
240 is compiled into the kernel, then
241 .Xr cdrecord 1 ,
242 available in the
243 .Fx
244 Ports Collection as part of the
245 .Pa sysutils/cdrtools
246 port, must be used instead.
247 Refer to:
248 .Pp
249 http://www.freebsd.org/doc/handbook/creating-cds.html#CDRECORD