2006-12-13 19:30:31 +00:00
|
|
|
.\" Hey, EMACS: -*- nroff -*-
|
|
|
|
.\" First parameter, NAME, should be all caps
|
|
|
|
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
|
|
|
|
.\" other parameters are allowed: see man(7), man(1)
|
2012-01-01 12:55:41 +00:00
|
|
|
.TH CDRSKIN 1 "Jan 01, 2012"
|
2006-12-13 19:30:31 +00:00
|
|
|
.\" Please adjust this date whenever revising the manpage.
|
|
|
|
.\"
|
|
|
|
.\" Some roff macros, for reference:
|
|
|
|
.\" .nh disable hyphenation
|
|
|
|
.\" .hy enable hyphenation
|
|
|
|
.\" .ad l left justify
|
|
|
|
.\" .ad b justify to both left and right margins
|
|
|
|
.\" .nf disable filling
|
|
|
|
.\" .fi enable filling
|
|
|
|
.\" .br insert line break
|
|
|
|
.\" .sp <n> insert n+1 empty lines
|
|
|
|
.\" for manpage-specific macros, see man(7)
|
|
|
|
.SH NAME
|
2008-12-10 17:16:19 +00:00
|
|
|
cdrskin \- burns preformatted data to CD, DVD, and BD via libburn.
|
2006-12-13 19:30:31 +00:00
|
|
|
.SH SYNOPSIS
|
|
|
|
.B cdrskin
|
|
|
|
.RI [ options | track_source_addresses ]
|
|
|
|
.br
|
|
|
|
.SH DESCRIPTION
|
|
|
|
.PP
|
|
|
|
.\" TeX users may be more comfortable with the \fB<whatever>\fP and
|
|
|
|
.\" \fI<whatever>\fP escape sequences to invode bold face and italics,
|
|
|
|
.\" respectively.
|
|
|
|
.PP
|
2006-12-15 10:15:50 +00:00
|
|
|
\fBcdrskin\fP is a program that provides some of cdrecord's options
|
2008-12-10 17:16:19 +00:00
|
|
|
in a compatible way for CD media. With DVD and BD it has its own ways.
|
2006-12-15 10:15:50 +00:00
|
|
|
You do not need to be superuser for its daily usage.
|
2007-09-27 08:34:26 +00:00
|
|
|
.SS
|
2006-12-13 19:30:31 +00:00
|
|
|
.B Overview of features:
|
|
|
|
.br
|
2007-02-01 20:14:01 +00:00
|
|
|
Blanking of CD-RW and DVD-RW.
|
2006-12-13 19:30:31 +00:00
|
|
|
.br
|
2008-12-10 17:16:19 +00:00
|
|
|
Formatting of DVD-RW, DVD+RW, DVD-RAM, BD.
|
2008-04-27 08:47:55 +00:00
|
|
|
.br
|
2006-12-21 21:46:58 +00:00
|
|
|
Burning of data or audio tracks to CD,
|
2006-12-13 19:30:31 +00:00
|
|
|
.br
|
2006-12-21 21:46:58 +00:00
|
|
|
either in versatile Track at Once mode (TAO)
|
2006-12-13 19:30:31 +00:00
|
|
|
.br
|
|
|
|
or in Session at Once mode for seamless tracks.
|
|
|
|
.br
|
2007-02-01 20:14:01 +00:00
|
|
|
Multi session on CD (follow-up sessions in TAO only)
|
2006-12-13 19:30:31 +00:00
|
|
|
.br
|
2008-12-10 17:16:19 +00:00
|
|
|
or on DVD-R[W] (in Incremental mode) or DVD+R[/DL] or BD-R.
|
2006-12-13 19:30:31 +00:00
|
|
|
.br
|
2010-08-21 09:56:16 +00:00
|
|
|
Single session Disk-at-once on DVD-RW, DVD-R, DVD-R DL.
|
2007-02-08 14:10:05 +00:00
|
|
|
.br
|
2007-09-19 14:18:48 +00:00
|
|
|
Single session or emulated ISO-9660 multi-session
|
2007-09-19 10:12:24 +00:00
|
|
|
.br
|
2008-05-06 18:10:44 +00:00
|
|
|
on overwriteable DVD+RW, DVD-RW, DVD-RAM, BD-RE
|
2007-09-08 16:49:19 +00:00
|
|
|
.br
|
|
|
|
or on data file or block device.
|
2007-02-01 20:06:03 +00:00
|
|
|
.br
|
2007-02-01 20:14:01 +00:00
|
|
|
Bus scan, burnfree, speed options, retrieving media info, padding, fifo.
|
2006-12-21 21:46:58 +00:00
|
|
|
.br
|
2006-12-13 19:30:31 +00:00
|
|
|
See section EXAMPLES at the end of this text.
|
2007-09-27 08:34:26 +00:00
|
|
|
.SS
|
2007-03-03 09:00:28 +00:00
|
|
|
.B General information paragraphs:
|
|
|
|
.br
|
|
|
|
Track recording model
|
|
|
|
.br
|
2007-03-08 21:55:50 +00:00
|
|
|
Write mode selection
|
|
|
|
.br
|
2007-03-03 09:00:28 +00:00
|
|
|
Recordable CD Media
|
|
|
|
.br
|
2009-05-07 18:12:32 +00:00
|
|
|
Sequentially Recordable DVD or BD Media
|
2007-03-03 09:00:28 +00:00
|
|
|
.br
|
2008-04-25 13:24:39 +00:00
|
|
|
Overwriteable DVD or BD Media
|
2007-03-03 09:00:28 +00:00
|
|
|
.br
|
|
|
|
Drive preparation and addressing
|
2007-09-27 08:34:26 +00:00
|
|
|
.br
|
|
|
|
Emulated drives
|
|
|
|
.SS
|
2006-12-14 10:22:17 +00:00
|
|
|
.B Track recording model:
|
2006-12-13 19:30:31 +00:00
|
|
|
.br
|
2006-12-14 10:22:17 +00:00
|
|
|
The input-output entities which get processed are called tracks.
|
2006-12-15 10:15:50 +00:00
|
|
|
A \fBtrack\fP stores a stream of bytes.
|
2006-12-14 10:22:17 +00:00
|
|
|
.br
|
2006-12-15 16:14:20 +00:00
|
|
|
More than one track can be burned by a single run of cdrskin.
|
|
|
|
In the terms of the MMC standard all tracks written by the same run constitute
|
|
|
|
a \fBsession\fP.
|
|
|
|
.br
|
2011-12-25 10:51:01 +00:00
|
|
|
Normally, each track is initiated by one track source address argument,
|
|
|
|
which may either be "-" for standard input or the address of a readable file.
|
|
|
|
Alternatively, option cuefile= may be used to read a session description
|
|
|
|
from a text file and to read the session content from a single data file.
|
|
|
|
.br
|
|
|
|
If no write mode
|
|
|
|
is given explicitly then one will be chosen which matches the peculiarities
|
|
|
|
of track sources and the state of the output media.
|
|
|
|
.PP
|
2007-02-03 18:46:42 +00:00
|
|
|
Some media types can be kept appendable so that further tracks can
|
2006-12-13 22:12:36 +00:00
|
|
|
be written to them in subsequent runs of cdrskin (see option -multi).
|
2006-12-13 19:30:31 +00:00
|
|
|
Info about the addresses of burned tracks is kept in a table of
|
|
|
|
content (TOC) on media and can be retrieved via cdrskin option -toc.
|
2010-02-28 16:53:09 +00:00
|
|
|
This information is also used by the operating systems' CD-ROM read drivers.
|
2006-12-13 22:12:36 +00:00
|
|
|
.PP
|
|
|
|
In general there are two types of tracks: data and audio. They differ in
|
|
|
|
sector size, throughput and readability via the systems' CD-ROM drivers
|
2008-04-25 13:24:39 +00:00
|
|
|
resp. by music CD players. With DVD and BD there is only type data.
|
2006-12-13 22:12:36 +00:00
|
|
|
.br
|
2010-02-28 16:53:09 +00:00
|
|
|
If not explicitly option -audio is given, then any track is burned as type
|
2006-12-15 10:15:50 +00:00
|
|
|
data, unless the track source is a file with suffix ".wav" or ".au" and has a
|
2006-12-13 22:12:36 +00:00
|
|
|
header part which identifies it as MS-WAVE resp. SUN Audio with suitable
|
|
|
|
parameters. Such files are burned as audio tracks by default.
|
|
|
|
.PP
|
|
|
|
While audio tracks just contain a given time span of acoustic vibrations,
|
|
|
|
data tracks may have an arbitray meaning. Nevertheless, ISO-9660 filesystems
|
|
|
|
are established as a format which can represent a tree of directories and
|
2006-12-15 10:15:50 +00:00
|
|
|
files on all major operating systems. Such filesystem images can be
|
2008-10-04 07:29:28 +00:00
|
|
|
produced by programs mkisofs or genisoimage or xorriso.
|
|
|
|
They can also be extended by follow-up tracks if prepared properly.
|
|
|
|
See the man pages of said programs.
|
2006-12-13 22:12:36 +00:00
|
|
|
cdrskin is able to fulfill the needs about their option -C.
|
|
|
|
.br
|
|
|
|
Another type of data track content are archive formats which originally
|
|
|
|
have been developed for magnetic tapes. Only formats which mark a detectable
|
2007-01-01 17:19:41 +00:00
|
|
|
end-of-archive in their data are suitable, though. Well tested are
|
2006-12-13 22:12:36 +00:00
|
|
|
the archivers afio and star. Not suitable seems GNU tar.
|
2007-09-27 08:34:26 +00:00
|
|
|
.SS
|
2007-03-08 21:55:50 +00:00
|
|
|
.B Write mode selection:
|
|
|
|
.br
|
2007-09-19 10:12:24 +00:00
|
|
|
In general there are two approaches for writing media:
|
|
|
|
.br
|
|
|
|
A permissive mode depicted by option
|
|
|
|
.B -tao
|
|
|
|
which needs no predicted track size and allows to make use of
|
|
|
|
eventual multi-session capabilities.
|
|
|
|
.br
|
|
|
|
A more restrictive mode
|
|
|
|
.B -sao
|
|
|
|
(alias -dao) which usually demands a predictable track size and is not
|
2011-12-25 10:51:01 +00:00
|
|
|
necessarily capable of multi-session. It can be used to write CD-TEXT and
|
|
|
|
it is the only one that works with option cuefile=.
|
2007-09-19 10:12:24 +00:00
|
|
|
.br
|
2007-03-08 21:55:50 +00:00
|
|
|
If none of the options -dao, -tao or -sao is given then the program will
|
|
|
|
try to choose a write mode which matches the defined recording job,
|
|
|
|
the capabilities of the drive and the state of the present media.
|
|
|
|
.br
|
|
|
|
So the mentioning of write modes in the following paragraphs and in the
|
2010-02-28 16:53:09 +00:00
|
|
|
examples is not so much a demand that the user shall choose one explicitly,
|
2007-03-08 21:55:50 +00:00
|
|
|
but rather an illustration of what to expect with particular media types.
|
2007-09-27 08:34:26 +00:00
|
|
|
.SS
|
2006-12-13 23:24:23 +00:00
|
|
|
.B Recordable CD Media:
|
|
|
|
.br
|
|
|
|
CD-R can be initially written only once and eventually extended until they
|
|
|
|
get closed (or are spoiled because they are overly full). After that they are
|
2007-01-31 12:59:51 +00:00
|
|
|
read-only. Closing is done automatically unless option
|
|
|
|
.B -multi
|
|
|
|
is given which keeps the media appendable.
|
|
|
|
.br
|
2007-09-19 10:12:24 +00:00
|
|
|
Write mode
|
2007-11-18 09:35:36 +00:00
|
|
|
-tao allows to use track sources of unpredictable length (like stdin) and
|
|
|
|
allows to write further sessions to appendable media.
|
2007-09-19 10:12:24 +00:00
|
|
|
-sao produces audio sessions with seamless tracks but needs predicted track
|
|
|
|
sizes and cannot append sessions to media.
|
2006-12-13 23:24:23 +00:00
|
|
|
.br
|
|
|
|
CD-RW media can be blanked to make them re-usable for another
|
2007-01-01 17:19:41 +00:00
|
|
|
round of overwriting. Usually
|
|
|
|
.B blank=fast
|
|
|
|
is the appropriate option.
|
|
|
|
Blanking damages the previous content but does not
|
2006-12-13 23:24:23 +00:00
|
|
|
make it completely unreadable. It is no effective privacy precaution.
|
2008-10-15 10:35:06 +00:00
|
|
|
Multiple cycles of blanking and overwriting with random numbers might be
|
|
|
|
needed.
|
2007-09-27 08:34:26 +00:00
|
|
|
.SS
|
2008-12-10 17:16:19 +00:00
|
|
|
.B Sequentially Recordable DVD or BD Media:
|
2007-01-31 12:59:51 +00:00
|
|
|
.br
|
2010-08-21 09:56:16 +00:00
|
|
|
Currently DVD-RW, DVD-R[DL], DVD+R[DL], and BD-R can be used for the Sequential
|
2009-01-07 15:36:51 +00:00
|
|
|
recording model. It resembles the model of CD media. Only DVD-RW can be
|
|
|
|
blanked and re-used from scratch.
|
2007-03-06 20:51:32 +00:00
|
|
|
.br
|
2009-01-07 15:36:51 +00:00
|
|
|
DVD-RW are sequential media if they are in state "Sequential Recording".
|
2007-02-08 14:10:05 +00:00
|
|
|
The media must be either blank or appendable.
|
|
|
|
Newly purchased DVD-RW and DVD-R media are in this state.
|
2007-01-31 12:59:51 +00:00
|
|
|
Used DVD-RW get into blank sequential state by option
|
|
|
|
.B blank=deformat_sequential .
|
|
|
|
.br
|
2007-03-06 20:51:32 +00:00
|
|
|
With DVD-R[W] two write modes may be available:
|
2007-01-31 12:59:51 +00:00
|
|
|
.br
|
2007-03-03 09:00:28 +00:00
|
|
|
Mode DAO has many restrictions. It does not work with
|
2007-02-06 19:19:54 +00:00
|
|
|
appendable media, allows no -multi and only a single track. The size of the
|
|
|
|
track needs to be known in advance. So either its source has to be a disk file
|
2010-02-28 16:53:09 +00:00
|
|
|
of recognizable size or the size has to be announced explicitly by options
|
2007-02-06 19:19:54 +00:00
|
|
|
.B tsize=
|
|
|
|
or
|
|
|
|
.B tao_to_sao_tsize= .
|
|
|
|
.br
|
2010-08-21 09:56:16 +00:00
|
|
|
DAO is the only mode for DVD-R media which do not offer feature 21h Incremental
|
|
|
|
Streaming (e.g. DVD-R DL). DAO may also be selected explicitly by option
|
2007-02-06 19:19:54 +00:00
|
|
|
.B -sao .
|
|
|
|
Program growisofs uses DAO on sequential DVD-R[W] media for maximum
|
|
|
|
DVD-ROM/-Video compatibility.
|
2007-03-03 09:00:28 +00:00
|
|
|
.br
|
|
|
|
The other mode, Incremental Streaming, is the default write mode if
|
|
|
|
it is available and if the restrictions of DAO would prevent the job.
|
2010-02-28 16:53:09 +00:00
|
|
|
Incremental Streaming may be selected explicitly by option
|
2007-03-03 09:00:28 +00:00
|
|
|
.B -tao
|
|
|
|
as it resembles much CD TAO by allowing track sources of
|
|
|
|
unpredicted length and to keep media appendable by option
|
2010-08-21 09:56:16 +00:00
|
|
|
.B -multi . It does not work with DVD-R DL and minimally blanked DVD-RW.
|
2007-03-03 09:00:28 +00:00
|
|
|
The only restriction towards CD-R[W] is the lack of support for -audio tracks.
|
|
|
|
Multiple tracks per session are permissible.
|
2007-03-06 20:51:32 +00:00
|
|
|
.br
|
2008-12-10 17:16:19 +00:00
|
|
|
The write modes for DVD+R[/DL] and BD-R resemble those with DVD-R except that
|
|
|
|
each track gets wrapped in an own session. There is no -dummy writing
|
|
|
|
with DVD+R[/DL] or BD-R.
|
2007-03-07 15:13:25 +00:00
|
|
|
.br
|
|
|
|
Quite deliberately write mode -sao insists in the tradition of a predicted
|
|
|
|
track size and blank media, whereas -tao writes the tracks open ended and
|
|
|
|
allows appendable media.
|
2007-08-02 08:32:50 +00:00
|
|
|
.br
|
2008-12-10 17:16:19 +00:00
|
|
|
BD-R may be formatted before first use to enable the Defect Management which
|
|
|
|
might catch and repair some bad spots at the expense of slow speed
|
|
|
|
even with flawless media.
|
|
|
|
.br
|
2007-08-02 08:32:50 +00:00
|
|
|
.B Note:
|
|
|
|
Option -multi might make DVD media unreadable in some DVD-ROM drives.
|
|
|
|
Best reader compatibility is achieved without it
|
|
|
|
(i.e. by single session media).
|
2007-09-27 08:34:26 +00:00
|
|
|
.SS
|
2008-04-25 13:24:39 +00:00
|
|
|
.B Overwriteable DVD or BD Media:
|
2007-02-03 18:46:42 +00:00
|
|
|
.br
|
2008-04-25 13:24:39 +00:00
|
|
|
Currently types DVD+RW, DVD-RW, DVD-RAM and BD-RE can be overwritten via
|
2008-05-06 18:10:44 +00:00
|
|
|
cdrskin.
|
2007-02-03 18:46:42 +00:00
|
|
|
.br
|
2007-08-26 20:09:47 +00:00
|
|
|
Option -audio is not allowed. Only one track is allowed.
|
2010-02-28 16:53:09 +00:00
|
|
|
Option -multi cannot mark a recognizable end of overwriteable media.
|
2007-08-26 20:09:47 +00:00
|
|
|
Therefore -multi is banned unless ISO-9660 images shall be expandable by help
|
2007-09-19 10:12:24 +00:00
|
|
|
of option
|
|
|
|
.B --grow_overwriteable_iso .
|
2007-08-26 20:09:47 +00:00
|
|
|
Without this option or without an ISO-9660 filesystem image present
|
2007-08-28 14:31:42 +00:00
|
|
|
on media, -toc does not return information about the media content and
|
|
|
|
media get treated as blank regardless wether they hold data or not.
|
2007-08-26 20:09:47 +00:00
|
|
|
.br
|
2007-02-03 18:46:42 +00:00
|
|
|
Currently there is no difference between -sao and -tao. If ever, then -tao
|
|
|
|
will be the mode which preserves the current behavior.
|
2008-04-27 14:02:32 +00:00
|
|
|
.PP
|
|
|
|
DVD+RW and DVD-RAM media need no special initial formatting. They offer a
|
|
|
|
single continuous data area for blockwise random access. BD-RE need
|
|
|
|
explicit formatting before use. See
|
|
|
|
.B blank=as_needed
|
|
|
|
or blank=format_defectmgt .
|
2007-02-03 18:46:42 +00:00
|
|
|
.br
|
|
|
|
DVD-RW are sold in state "Sequential Recording". To become suitable for the
|
|
|
|
Overwriteable DVD recording model they need to get formatted to state
|
|
|
|
"Restricted Overwrite". Then they behave much like DVD+RW. This formatting
|
|
|
|
can be done by option
|
|
|
|
.B blank=format_overwrite .
|
|
|
|
.br
|
2007-02-18 09:48:00 +00:00
|
|
|
Several programs like dvd+rw-format, cdrecord, wodim, or cdrskin
|
|
|
|
can bring a DVD-RW out of overwriteable state so
|
2007-02-03 18:46:42 +00:00
|
|
|
that it has to be formatted again. If in doubt, just give it a try.
|
2007-09-27 08:34:26 +00:00
|
|
|
.SS
|
2006-12-15 10:15:50 +00:00
|
|
|
.B Drive preparation and addressing:
|
|
|
|
.br
|
2009-05-07 18:12:32 +00:00
|
|
|
The drives, CD, DVD, or BD burners, are accessed via addresses which
|
2006-12-15 10:15:50 +00:00
|
|
|
are specific to libburn and the operating system. Those addresses get listed
|
2011-07-28 19:16:06 +00:00
|
|
|
by a run of \fBcdrskin --devices\fP or \fBcdrskin --device_links\fP.
|
2006-12-15 10:15:50 +00:00
|
|
|
.br
|
|
|
|
On Linux, they are device files which traditionally do not offer
|
|
|
|
w-permissions for normal users. Because libburn needs rw-permission,
|
2007-03-03 09:00:28 +00:00
|
|
|
it might be only the
|
|
|
|
.B superuser
|
|
|
|
who is able to get this list without further
|
2006-12-15 10:15:50 +00:00
|
|
|
precautions.
|
|
|
|
.br
|
2007-04-22 13:22:43 +00:00
|
|
|
It is consensus that \fBchmod a+rw /dev/sr0\fP or \fBchmod a+rw /dev/hdc\fP
|
2007-09-18 09:06:26 +00:00
|
|
|
is less security sensitive than chmod u+s,a+x /usr/bin/cdrskin. The risk for
|
|
|
|
the drive is somewhat higher but the overall system is much less at stake.
|
|
|
|
Consider to restrict rw-access to a single group which bundles the users who
|
|
|
|
are allowed to use the burner drive (like group "floppy").
|
2006-12-15 10:15:50 +00:00
|
|
|
.br
|
2010-06-10 17:23:23 +00:00
|
|
|
For drive permission examples on Linux, FreeBSD, and Solaris,
|
|
|
|
see cdrskin/README.
|
|
|
|
.br
|
2006-12-15 10:15:50 +00:00
|
|
|
.PP
|
|
|
|
If you only got one CD capable drive then you may leave out cdrskin option
|
|
|
|
\fBdev=\fP. Else you should use this option to address the drive you want.
|
|
|
|
.br
|
|
|
|
cdrskin option dev= not only accepts the listed addresses but also
|
2010-06-10 17:23:23 +00:00
|
|
|
traditional cdrecord SCSI addresses which consist of three numbers:
|
|
|
|
Bus,Target,Lun. On Linux there is also a related address family "ATA" which
|
2006-12-15 10:15:50 +00:00
|
|
|
accesses IDE drives not under control of Linux SCSI drivers:
|
|
|
|
ATA:Bus,Target,Lun.
|
|
|
|
.br
|
|
|
|
See option -scanbus for getting a list of cdrecord style addresses.
|
|
|
|
.br
|
2010-06-10 17:23:23 +00:00
|
|
|
Further are accepted: links to libburn-suitable device files,
|
2006-12-15 10:15:50 +00:00
|
|
|
device files which have the same major and minor device number,
|
2007-04-22 13:22:43 +00:00
|
|
|
and device files which have the same SCSI address parameters (e.g. /dev/sg0).
|
2006-12-13 19:30:31 +00:00
|
|
|
.br
|
2007-09-27 08:34:26 +00:00
|
|
|
.SS
|
|
|
|
.B Emulated drives:
|
|
|
|
.br
|
2007-11-18 09:35:36 +00:00
|
|
|
Option
|
|
|
|
.B --allow_emulated_drives
|
|
|
|
enables addressing of pseudo-drives
|
2007-09-24 13:58:47 +00:00
|
|
|
which get emulated on top of filesystem objects. Regular data files and
|
|
|
|
block devices result in pseudo-drives which behave much like DVD-RAM.
|
|
|
|
If the given address does not exist yet but its directory exists, then
|
|
|
|
it gets created as regular file.
|
|
|
|
Other file types like character devices or pipes result in pseudo-drives
|
|
|
|
which behave much like blank DVD-R.
|
2007-09-08 16:49:19 +00:00
|
|
|
The target file address is given after prefix "stdio:".
|
|
|
|
.br
|
|
|
|
E.g.: dev=stdio:/tmp/my_pseudo_drive
|
|
|
|
.br
|
2007-09-24 13:58:47 +00:00
|
|
|
Addresses of the form "stdio:/dev/fd/<number>" are treated special. The
|
|
|
|
number is read literally and used as open file descriptor. With
|
|
|
|
dev="stdio:/dev/fd/1" the normal standard output of the program is
|
|
|
|
redirected to stderr and the stream data of a burn run will appear on stdout.
|
|
|
|
.br
|
|
|
|
Not good for terminals ! Redirect it.
|
|
|
|
.br
|
|
|
|
Pseudo-drives allow -dummy. Their reply with --tell_media_space can be utopic.
|
2007-09-27 08:34:26 +00:00
|
|
|
-dummy burn runs touch the file but do not modify its data content.
|
|
|
|
.br
|
|
|
|
Note: --allow_emulated_drives is restricted to stdio:/dev/null if cdrskin
|
|
|
|
is run by the
|
|
|
|
.B superuser
|
|
|
|
or if it has changed user identity via the
|
|
|
|
.B setuid
|
|
|
|
bit of its access permissions. The ban for the superuser can be lifted by a
|
|
|
|
skillfully created file. See section FILES below.
|
2007-09-08 16:49:19 +00:00
|
|
|
.br
|
2006-12-13 19:30:31 +00:00
|
|
|
.SH OPTIONS
|
|
|
|
.TP
|
|
|
|
.BI \-\-help
|
|
|
|
Show non-cdrecord compatible options.
|
|
|
|
.TP
|
|
|
|
.BI \-help
|
|
|
|
Show cdrecord compatible options.
|
2007-09-18 07:20:23 +00:00
|
|
|
.br
|
|
|
|
Note that some of the help texts are quite wrong - for cdrecord as well as
|
|
|
|
for cdrskin (e.g. -format, blank=, -load). They are, nevertheless, traditional
|
|
|
|
indicators for the availability of the listed options. Some frontend programs
|
|
|
|
make decisions after reading them.
|
2006-12-13 19:30:31 +00:00
|
|
|
.TP
|
|
|
|
.BI \-version
|
|
|
|
Print cdrskin id line, compatibility lure line, libburn version, cdrskin
|
|
|
|
version, version timestamp, build timestamp (if available), and then exit.
|
|
|
|
.PP
|
|
|
|
Alphabetical list of options which are intended to be compatible with
|
|
|
|
original cdrecord by Joerg Schilling:
|
|
|
|
.TP
|
|
|
|
.BI \-atip
|
|
|
|
Retrieve some info about media state. With CD-RW print "Is erasable".
|
2008-04-25 13:24:39 +00:00
|
|
|
With DVD media print "book type:" and a media type text. With BD media
|
|
|
|
print "Mounted Media:" and media type text.
|
2006-12-13 19:30:31 +00:00
|
|
|
.TP
|
|
|
|
.BI \-audio
|
|
|
|
Announces that the subsequent tracks are to be burned as audio.
|
2006-12-14 10:22:17 +00:00
|
|
|
The source is supposed to be uncompressed headerless PCM, 44100 Hz, 16 bit,
|
2006-12-13 19:30:31 +00:00
|
|
|
stereo. For little-endian byte order (which is usual on PCs) use option
|
2010-02-28 16:53:09 +00:00
|
|
|
-swab. Unless marked explicitly by option -data, input files with suffix
|
2007-06-08 10:56:15 +00:00
|
|
|
".wav" are examined wether they have a header in MS-WAVE format confirming
|
2006-12-18 12:29:20 +00:00
|
|
|
those parameters and eventually raw audio data get extracted and burned as
|
2007-06-10 07:06:42 +00:00
|
|
|
audio track. Same is done for suffix ".au" and SUN Audio.
|
2007-02-01 19:45:47 +00:00
|
|
|
.br
|
2008-04-25 13:24:39 +00:00
|
|
|
Option -audio may be used only with CD media and not with DVD or BD.
|
2006-12-13 19:30:31 +00:00
|
|
|
.TP
|
|
|
|
.BI blank= type
|
2008-12-10 17:16:19 +00:00
|
|
|
Blank a CD-RW, DVD-RW, or format a DVD-RW, DVD+RW, DVD-RAM, BD.
|
2007-01-01 17:19:41 +00:00
|
|
|
This is combinable with burning in the same run of cdrskin.
|
2006-12-13 19:30:31 +00:00
|
|
|
The type given with blank= selects the particular behavior:
|
|
|
|
.RS
|
|
|
|
.TP
|
2008-04-27 14:02:32 +00:00
|
|
|
as_needed
|
|
|
|
Try to make the media ready for writing from scratch. If it needs formatting,
|
|
|
|
then format it. If it is not blank, then try to apply blank=fast.
|
|
|
|
It is a reason to abort if the media cannot assume thoroughly writeable state,
|
|
|
|
e.g. if it is non-blank write-once.
|
|
|
|
.br
|
|
|
|
This leaves unformatted DVD-RW in unformatted blank state. To format DVD-RW use
|
2008-12-10 17:16:19 +00:00
|
|
|
blank=format_overwriteable. Blank unformatted BD-R stay unformatted.
|
2008-05-06 18:10:44 +00:00
|
|
|
.br
|
|
|
|
(Note: blank=as_needed is not an original cdrecord option.)
|
2008-04-27 14:02:32 +00:00
|
|
|
.TP
|
|
|
|
The following blank types are specific to particular media familes. Use them if special features are desired.
|
2006-12-13 19:30:31 +00:00
|
|
|
.TP
|
|
|
|
all
|
2007-01-31 12:59:51 +00:00
|
|
|
Blank an entire CD-RW or an unformatted DVD-RW.
|
2007-08-28 14:31:42 +00:00
|
|
|
(See also --prodvd_cli_compatible, --grow_overwriteable_iso)
|
2006-12-13 19:30:31 +00:00
|
|
|
.TP
|
|
|
|
fast
|
2007-02-08 21:09:10 +00:00
|
|
|
Minimally blank an entire CD-RW or blank an unformatted DVD-RW.
|
2007-08-28 14:31:42 +00:00
|
|
|
(See also --prodvd_cli_compatible, --grow_overwriteable_iso)
|
2007-01-01 17:19:41 +00:00
|
|
|
.TP
|
2008-04-26 15:10:35 +00:00
|
|
|
deformat_sequential
|
|
|
|
Like blank=all but with the additional ability to blank overwriteable DVD-RW.
|
|
|
|
This will destroy their formatting and make them sequentially recordable.
|
|
|
|
Another peculiarity is the ability to blank media which appear already blank.
|
|
|
|
This is similar to option -force but does not try to blank media other than
|
|
|
|
recognizable CD-RW and DVD-RW.
|
|
|
|
.br
|
|
|
|
(Note: blank=deformat_* are not original cdrecord options.)
|
|
|
|
.TP
|
|
|
|
deformat_sequential_quickest
|
|
|
|
Like blank=deformat_sequential but blanking DVD-RW only minimally.
|
|
|
|
This is faster than full blanking but may yield media incapable of
|
|
|
|
Incremental Streaming (-tao).
|
|
|
|
.TP
|
2008-04-27 08:47:55 +00:00
|
|
|
format_if_needed
|
2008-12-10 17:16:19 +00:00
|
|
|
Format a media if it is not formatted yet,
|
2008-04-27 08:47:55 +00:00
|
|
|
and if cdrskin supports formatting for the media type,
|
|
|
|
and if formatting will not happen automatically during write.
|
2008-12-10 17:16:19 +00:00
|
|
|
This currently applies to unformatted DVD-RW, DVD-RAM, BD-RE,
|
|
|
|
and blank unformatted BD-R.
|
2008-04-27 08:47:55 +00:00
|
|
|
Eventually the appropriate default formatting is chosen.
|
2008-04-27 14:02:32 +00:00
|
|
|
If other media or states are encountered then nothing happens.
|
2008-04-27 08:47:55 +00:00
|
|
|
.br
|
|
|
|
The following formatting types are more specialized to particular
|
|
|
|
media families.
|
|
|
|
.TP
|
2007-01-01 17:19:41 +00:00
|
|
|
format_overwrite
|
2007-01-08 10:44:34 +00:00
|
|
|
Format a DVD-RW to "Restricted Overwrite". The user should bring some patience.
|
2007-01-31 12:59:51 +00:00
|
|
|
.br
|
2008-04-26 15:10:35 +00:00
|
|
|
(Note: blank=format_* are not original cdrecord options.)
|
2007-01-09 21:14:47 +00:00
|
|
|
.TP
|
|
|
|
format_overwrite_quickest
|
2007-06-10 07:06:42 +00:00
|
|
|
Like format_overwrite without creating a 128 MiB trailblazer session.
|
2007-01-09 21:14:47 +00:00
|
|
|
Leads to "intermediate" state which only allows sequential write
|
|
|
|
beginning from address 0.
|
|
|
|
The "intermediate" state ends after the first session of writing data.
|
|
|
|
.TP
|
|
|
|
format_overwrite_full
|
2007-01-10 21:07:48 +00:00
|
|
|
For DVD-RW this is like format_overwrite but claims full media size
|
2007-06-10 07:06:42 +00:00
|
|
|
rather than just 128 MiB.
|
2007-01-10 15:30:54 +00:00
|
|
|
Most traditional formatting is attempted. No data get written.
|
|
|
|
Much patience is required.
|
2007-01-10 21:07:48 +00:00
|
|
|
.br
|
2007-01-31 12:59:51 +00:00
|
|
|
This option treats already formatted media even if not option -force is given.
|
|
|
|
.br
|
2007-01-10 21:07:48 +00:00
|
|
|
For DVD+RW this is the only supported explicit formatting type. It provides
|
|
|
|
complete "de-icing" so no reader slips on unwritten data areas.
|
2007-01-31 12:59:51 +00:00
|
|
|
.TP
|
2008-04-22 16:13:05 +00:00
|
|
|
format_defectmgt
|
2008-12-10 17:16:19 +00:00
|
|
|
Format DVD-RAM or BD to reserve the default amount of spare blocks for
|
2008-04-25 13:24:39 +00:00
|
|
|
defect management.
|
|
|
|
.br
|
2008-04-22 16:13:05 +00:00
|
|
|
The following format_defectmgt_* allow to submit user wishes which
|
|
|
|
nevertheless have to match one of the available formats. These formats are
|
|
|
|
offered by the drive after examining the media.
|
|
|
|
.TP
|
2008-04-26 15:10:35 +00:00
|
|
|
format_defectmgt_cert_off
|
|
|
|
Disable the usual media quality certification in order to save time and
|
|
|
|
format to default size.
|
|
|
|
The certification setting persists even if subsequent blank= options override
|
|
|
|
the size of the format selection.
|
|
|
|
.br
|
|
|
|
Whether formatting without certification works properly depends much on the
|
|
|
|
drive. One should check the "Format status:" from --list_formats afterwards.
|
|
|
|
.TP
|
|
|
|
format_defectmgt_cert_on
|
|
|
|
Re-enable the usual media quality certification and format to default size.
|
|
|
|
The certification setting persists like with format_defectmgt_cert_off.
|
|
|
|
.br
|
|
|
|
Whether there happens certification at all depends much on the media state
|
|
|
|
and the actually selected format descriptor.
|
|
|
|
.TP
|
2008-04-22 16:13:05 +00:00
|
|
|
format_defectmgt_max
|
2008-12-10 17:16:19 +00:00
|
|
|
Format DVD-RAM or BD to reserve a maximum number of spare blocks.
|
2008-04-22 16:13:05 +00:00
|
|
|
.TP
|
|
|
|
format_defectmgt_min
|
2008-12-10 17:16:19 +00:00
|
|
|
Format DVD-RAM or BD to reserve a minimum number of spare blocks.
|
2008-04-25 13:24:39 +00:00
|
|
|
It might be necessary to format format_defectmgt_none first in order to get
|
2008-04-22 16:13:05 +00:00
|
|
|
offered the most minmal spare blocks sizes for format_defectmgt_min.
|
|
|
|
.TP
|
|
|
|
format_defectmgt_none
|
2008-12-11 09:22:33 +00:00
|
|
|
Format DVD-RAM or BD-RE to the largest available payload in the hope to disable
|
2008-12-10 17:16:19 +00:00
|
|
|
defect management at all. This may or may not have a speed increasing effect.
|
2008-12-11 09:22:33 +00:00
|
|
|
Unformatted blank BD-R will be left unformatted.
|
2008-04-22 16:13:05 +00:00
|
|
|
.TP
|
|
|
|
format_defectmgt_payload_<size>
|
2008-12-10 17:16:19 +00:00
|
|
|
Format DVD-RAM or BD. The text after "format_defectmgt_payload_" gives a
|
2008-04-25 13:24:39 +00:00
|
|
|
number of bytes, eventually with suffixes "s", "k", "m". The largest number
|
|
|
|
of spare blocks will be chosen which allows at least the given payload size.
|
2008-04-22 16:13:05 +00:00
|
|
|
.TP
|
2008-04-23 11:02:11 +00:00
|
|
|
format_by_index_<number>
|
2008-12-10 17:16:19 +00:00
|
|
|
Format DVD-RW, DVD+RW, DVD-RAM or BD.
|
2008-04-23 11:02:11 +00:00
|
|
|
The number after "format_by_index_" is used as index to the list of available
|
|
|
|
format descriptors. This list can be obtained by option --list_formats.
|
|
|
|
The numbers after text "Format idx" are the ones to be used with
|
|
|
|
format_by_index_. Format descriptor lists are volatile. Do neither eject
|
|
|
|
nor write the media between the run of --list_formats and the run of
|
|
|
|
blank=format_by_index_ or else you may get a different format than desired.
|
2008-04-27 14:02:32 +00:00
|
|
|
.TP
|
|
|
|
help
|
|
|
|
Print this list of blanking types.
|
2006-12-13 19:30:31 +00:00
|
|
|
.RE
|
|
|
|
.TP
|
|
|
|
.BI \-checkdrive
|
2007-09-17 16:35:33 +00:00
|
|
|
Retrieve some info about the addressed drive and then exit.
|
2006-12-13 19:30:31 +00:00
|
|
|
Exits with non-zero value if the drive cannot be found and opened.
|
|
|
|
.TP
|
2012-01-01 12:55:41 +00:00
|
|
|
.BI \-copy
|
2012-01-01 13:50:26 +00:00
|
|
|
Create the subsequent tracks with permission for an unlimited number of copies.
|
2012-01-01 12:55:41 +00:00
|
|
|
.TP
|
2011-12-25 10:51:01 +00:00
|
|
|
.BI cuefile= path
|
|
|
|
Read a session description from a cue sheet file in CDRWIN format.
|
|
|
|
Base the tracks on a single file which is given in the sheet by command FILE.
|
|
|
|
To enable CD-TEXT from the cue sheet file, cdrskin option -text has to be
|
|
|
|
present.
|
|
|
|
.br
|
|
|
|
cdrskin currently supports TRACK datatypes AUDIO and MODE1/2048 which may
|
2012-01-01 17:35:20 +00:00
|
|
|
not be mixed. It ignores commands POSTGAP and PREGAP. Only INDEX 01
|
2011-12-27 13:38:39 +00:00
|
|
|
is interpreted yet. Data source may be of FILE type BINARY or MOTOROLA.
|
2011-12-30 16:47:57 +00:00
|
|
|
.br
|
2012-01-01 17:35:20 +00:00
|
|
|
Non-CDRWIN commands ARRANGER, COMPOSER, MESSAGE are supported.
|
|
|
|
.br
|
2011-12-30 17:44:19 +00:00
|
|
|
Cue sheet file commands CATALOG and ISRC may be overridden by option mcn=
|
|
|
|
and by input_sheet_v07t= purpose specifiers "UPC / EAN" and "ISRC".
|
|
|
|
This does not affect their appearance in CD-TEXT, but only on Q sub-channel.
|
2011-12-25 10:51:01 +00:00
|
|
|
.TP
|
2006-12-13 19:30:31 +00:00
|
|
|
.BI \-dao
|
2007-02-06 19:19:54 +00:00
|
|
|
Alias for option -sao. Write CD in Session at Once mode
|
|
|
|
or DVD-R[W] in Disc-at-once mode.
|
2006-12-13 19:30:31 +00:00
|
|
|
.TP
|
|
|
|
.BI \-data
|
|
|
|
Subsequent tracks are data tracks. This option is default and only needed
|
2009-09-11 12:08:59 +00:00
|
|
|
to mark the end of the range of an eventual option -audio or -xa1.
|
|
|
|
.br
|
|
|
|
Options -mode2, -xa, and -xa2 get mapped to -data, not using the desired CD
|
|
|
|
sector formats and thus not taking advantage of eventual higher payload.
|
|
|
|
.BI \-xa1
|
|
|
|
Subsequent tracks are data tracks with input suitable for CD-ROM XA mode 2
|
|
|
|
form 1. This differs from -data input by 8 additional header bytes per block.
|
|
|
|
cdrskin will not write CD-ROM XA but rather strip the header bytes and write as
|
|
|
|
-data tracks.
|
2006-12-13 19:30:31 +00:00
|
|
|
.TP
|
|
|
|
.BI dev= target
|
2006-12-18 12:29:20 +00:00
|
|
|
Set the address of the drive to use. Valid are at least the
|
2011-07-28 19:16:06 +00:00
|
|
|
addresses listed with options --devices or --device_links,
|
2006-12-15 10:15:50 +00:00
|
|
|
X,Y,Z addresses listed with option -scanbus,
|
|
|
|
ATA:X,Y,Z addresses listed with options dev=ATA -scanbus,
|
|
|
|
and volatile libburn drive numbers (numbering starts at "0").
|
2006-12-13 19:30:31 +00:00
|
|
|
Other device file addresses which lead to the same drive might work too.
|
|
|
|
.br
|
|
|
|
If no dev= is given, volatile address "dev=0" is assumed. That is the first
|
2006-12-15 10:15:50 +00:00
|
|
|
drive found being available. Better avoid this ambiguity on systems with more
|
|
|
|
than one drive.
|
2006-12-13 19:30:31 +00:00
|
|
|
.br
|
|
|
|
The special target "help" lists hints about available addressing formats.
|
2006-12-15 10:15:50 +00:00
|
|
|
Be aware that deprecated option --old_pseudo_scsi_adr may change the meaning
|
|
|
|
of Bus,Target,Lun addresses.
|
2006-12-13 19:30:31 +00:00
|
|
|
.TP
|
|
|
|
.BI driveropts= opt
|
2007-01-30 22:01:10 +00:00
|
|
|
Set "driveropts=noburnfree" to disable the drive's eventual protection
|
|
|
|
mechanism against temporary lack of source data (i.e. buffer underrun).
|
|
|
|
A drive that announces no such capabilities will not get them enabled anyway,
|
2010-02-28 16:53:09 +00:00
|
|
|
even if attempted explicitly via "driveropts=burnfree".
|
2006-12-13 19:30:31 +00:00
|
|
|
.TP
|
|
|
|
.BI \-dummy
|
|
|
|
Try to perform the drive operations without actually affecting the inserted
|
2007-05-28 17:03:12 +00:00
|
|
|
media. There is no warranty that this will work with a particular combination
|
2007-02-06 19:19:54 +00:00
|
|
|
of drive, media, and write mode. Blanking is prevented reliably, though.
|
2007-05-28 17:03:12 +00:00
|
|
|
To avoid inadverted real burning, -dummy refuses burn runs on anything but
|
2007-09-09 09:35:23 +00:00
|
|
|
CD-R[W], DVD-R[W], or emulated stdio-drives.
|
2006-12-13 19:30:31 +00:00
|
|
|
.TP
|
|
|
|
.BI \-eject
|
2007-02-03 18:46:42 +00:00
|
|
|
Eject the disc after work is done.
|
2006-12-13 19:30:31 +00:00
|
|
|
.TP
|
|
|
|
.BI \-force
|
|
|
|
Assume that the user knows better in situations when cdrskin or libburn are
|
|
|
|
insecure about drive or media state. This includes the attempt to blank
|
|
|
|
media which are classified as unknown or unsuitable, and the attempt to use
|
|
|
|
write modes which libburn believes they are not supported by the drive.
|
|
|
|
.br
|
2007-02-17 08:56:41 +00:00
|
|
|
Another application is to enforce blanking or re-formatting of media
|
|
|
|
which appear to be in the desired blank or format state already.
|
2007-01-10 15:30:54 +00:00
|
|
|
.br
|
2007-05-28 17:03:12 +00:00
|
|
|
This option enables a burn run with option -dummy even if libburn believes
|
|
|
|
that drive and media will not simulate the write mode but will write for real.
|
|
|
|
.br
|
2011-01-09 13:59:19 +00:00
|
|
|
It enables a burn run where cdrskin expects to exceed the available media
|
|
|
|
capacity.
|
|
|
|
.br
|
2007-02-17 08:56:41 +00:00
|
|
|
.B Caution:
|
2006-12-13 19:30:31 +00:00
|
|
|
Use this only when in urgent need.
|
|
|
|
.TP
|
2007-09-17 16:35:33 +00:00
|
|
|
.BI \-format
|
|
|
|
Same as blank=format_overwrite_full -force but restricted to DVD+RW.
|
|
|
|
.TP
|
2006-12-13 19:30:31 +00:00
|
|
|
.BI fs= size
|
|
|
|
Set the fifo size to the given value. The value may have appended letters which
|
|
|
|
multiply the preceding number:
|
|
|
|
.br
|
|
|
|
"k" or "K" = 1024 , "m" or "M" = 1024k , "g" or "G" = 1024m , "s" or "S" = 2048
|
|
|
|
.br
|
|
|
|
Set size to 0 in order to disable the fifo (default is "4m").
|
|
|
|
.br
|
2006-12-14 10:22:17 +00:00
|
|
|
The fifo buffers an eventual temporary surplus of track source data in order to
|
|
|
|
provide the drive with a steady stream during times of temporary lack of track
|
|
|
|
source supply.
|
|
|
|
The larger the fifo, the longer periods of poor source supply can be
|
|
|
|
compensated.
|
2006-12-13 19:30:31 +00:00
|
|
|
But a large fifo needs substantial time to fill up if not curbed via
|
|
|
|
option fifo_start_at=size.
|
|
|
|
.TP
|
|
|
|
.BI gracetime= seconds
|
|
|
|
Set the grace time before starting to write. (Default is 0)
|
|
|
|
.TP
|
2007-09-18 20:40:14 +00:00
|
|
|
.BI -immed
|
|
|
|
Equivalent to:
|
|
|
|
.br
|
|
|
|
modesty_on_drive=1:min_percent=75:max_percent=95
|
|
|
|
.br
|
|
|
|
The name of this cdrecord option stems from the "Immed" bit which can make some
|
|
|
|
long running drive commands asynchronous and thus eases the load on some
|
|
|
|
wiring hardware types. Regardless of option -immed, cdrskin uses asynchronous
|
|
|
|
commands where possible and appropriate.
|
|
|
|
.TP
|
2007-09-17 16:35:33 +00:00
|
|
|
.BI -inq
|
|
|
|
Print the identification of the drive and then exit.
|
|
|
|
.TP
|
2007-03-28 18:21:46 +00:00
|
|
|
.BI -isosize
|
|
|
|
The next track following this option will try to obtain its source size from
|
|
|
|
the header information out of the first few blocks of the source data.
|
|
|
|
If these blocks indicate an ISO-9660 filesystem then its declared size
|
|
|
|
will be used under the assumption that it is a single session filesystem.
|
|
|
|
.br
|
|
|
|
If not, then the burn run will be aborted.
|
|
|
|
.br
|
2010-02-28 16:53:09 +00:00
|
|
|
The range of -isosize is exactly one track. Further tracks may be preceded
|
2007-03-28 18:21:46 +00:00
|
|
|
by further -isosize options, though. At least 15 blocks of padding will be
|
2007-03-30 20:11:36 +00:00
|
|
|
added to each -isosize track. But be advised to rather use padsize=300k.
|
2007-03-28 18:21:46 +00:00
|
|
|
.br
|
|
|
|
This option can be performed on track sources which are regular files or block
|
|
|
|
devices. For the first track of the session it can be performed on any type
|
2007-06-10 08:06:03 +00:00
|
|
|
of source if there is a fifo of at least 64 kiB. See option fs= .
|
2007-03-28 18:21:46 +00:00
|
|
|
.TP
|
2011-12-28 10:45:38 +00:00
|
|
|
.BI isrc= text
|
|
|
|
Set the ISRC for the next track source to the given text, which must be exactly
|
|
|
|
13 characters long. It must comply to the format CCOOOYYSSSSS.
|
|
|
|
.br
|
|
|
|
CC is the country code. OOO is the owner code. Both may consist of capital
|
|
|
|
letters A to Z and of decimal digits 0 to 9. YY depicts the year (00 to 99).
|
|
|
|
SSSSS is the serial number (00000 to 99999).
|
2011-12-30 17:44:19 +00:00
|
|
|
.br
|
|
|
|
This option does not affect CD-TEXT but only the Q sub-channel.
|
2011-12-28 10:45:38 +00:00
|
|
|
.TP
|
2007-09-17 16:35:33 +00:00
|
|
|
.BI -load
|
|
|
|
Load the media and exit. Exit value is 0 if any kind of media was found, non
|
|
|
|
zero else. Note: Option -eject will unload the media even if -load is given.
|
|
|
|
.TP
|
2007-09-18 09:06:26 +00:00
|
|
|
.BI -lock
|
|
|
|
Like option -load but leave the drive's eject button disabled if there is any
|
|
|
|
media found and not option -eject is given.
|
|
|
|
.br
|
|
|
|
Use program "eject" or cdrskin -eject to get the tray out of the drive.
|
|
|
|
Runs of programs like cdrecord, growisofs, wodim, cdrskin will not be hampered
|
|
|
|
and normally enable the drive's eject button when they are done.
|
|
|
|
.TP
|
2011-12-30 16:47:57 +00:00
|
|
|
.BI mcn= text
|
|
|
|
Set the CD Media Catalog Number to text, which must be exactly 13 characters
|
|
|
|
long and should consist of decimal digits.
|
2011-12-30 17:44:19 +00:00
|
|
|
.br
|
|
|
|
This option does not affect CD-TEXT but only the Q sub-channel.
|
2011-12-30 16:47:57 +00:00
|
|
|
.TP
|
2007-07-12 17:31:57 +00:00
|
|
|
.BI minbuf= percentage
|
|
|
|
Equivalent to:
|
|
|
|
.br
|
|
|
|
modesty_on_drive=1:min_percent=<percentage>:max_percent=95
|
|
|
|
.br
|
|
|
|
Percentage is permissible between 25 and 95.
|
|
|
|
.TP
|
2009-09-09 17:33:48 +00:00
|
|
|
.BI -minfo
|
|
|
|
Print information about the loaded media. This includes media type, writability
|
|
|
|
state, and a quite readable table of content.
|
|
|
|
.TP
|
2006-12-27 16:30:25 +00:00
|
|
|
.BI msifile= path
|
|
|
|
Run option -msinfo and copy the result line into the file given by path.
|
|
|
|
Unlike -msinfo this option does not redirect all normal output away from
|
|
|
|
standard output. But it may be combined with -msinfo to achieve this.
|
2006-12-27 21:44:17 +00:00
|
|
|
.br
|
|
|
|
Note: msifile=path is actually an option of wodim and not of cdrecord.
|
2006-12-27 16:30:25 +00:00
|
|
|
.TP
|
2006-12-13 19:30:31 +00:00
|
|
|
.BI \-msinfo
|
|
|
|
Retrieve multi-session info for preparing a follow-up session by option -C
|
2008-10-04 07:29:28 +00:00
|
|
|
of programs mkisofs, genisoimage, or xorriso -as mkisofs.
|
|
|
|
Print result to standard output.
|
2007-02-14 20:38:04 +00:00
|
|
|
This option redirects to stderr all message output except the one of option
|
|
|
|
--tell_media_space and its own result string, which consists of two numbers.
|
2006-12-13 19:30:31 +00:00
|
|
|
The result string shall be used as argument of option -C with said programs.
|
|
|
|
It gives the start address of the most recent session and the predicted
|
|
|
|
start address of the next session to be appended. The string is empty if
|
|
|
|
the most recent session was not written with option -multi.
|
2007-08-26 20:09:47 +00:00
|
|
|
.br
|
|
|
|
To have a chance for working on overwriteable media, this option has to be
|
|
|
|
accompanied by option --grow_overwriteable_iso.
|
2006-12-13 19:30:31 +00:00
|
|
|
.TP
|
|
|
|
.BI \-multi
|
2009-05-07 18:12:32 +00:00
|
|
|
This option keeps CD, unformatted DVD-R[W], DVD+R, or BD-R appendable
|
|
|
|
after the current session has been written.
|
2007-02-03 18:46:42 +00:00
|
|
|
Without it the disc gets closed and may not be written any more - unless it
|
|
|
|
is a -RW and gets blanked which causes loss of its content.
|
2006-12-13 19:30:31 +00:00
|
|
|
.br
|
2007-02-06 19:19:54 +00:00
|
|
|
The following sessions can only be written in -tao mode. -multi is prohibited
|
2010-08-21 09:56:16 +00:00
|
|
|
with DVD-R[W] DAO write mode and on DVD-R DL media.
|
|
|
|
Option --prodvd_cli_compatible eventually makes
|
2007-08-26 20:09:47 +00:00
|
|
|
-multi tolerable but cannot make it work.
|
|
|
|
.br
|
2006-12-13 19:30:31 +00:00
|
|
|
In order to have all filesystem content accessible, the eventual ISO-9660
|
|
|
|
filesystem of a follow-up
|
|
|
|
session needs to be prepared in a special way by the filesystem formatter
|
|
|
|
program. mkisofs and genisoimage expect particular info about the situation
|
|
|
|
which can be retrieved by cdrskin option -msinfo.
|
|
|
|
.br
|
|
|
|
To retrieve an archive file which was written as follow-up session,
|
2007-08-02 08:32:50 +00:00
|
|
|
you may use option -toc to learn about the "lba" of the desired track number.
|
|
|
|
This lba is the address of the 2048 byte block where the archive begins.
|
|
|
|
.br
|
2008-04-25 13:24:39 +00:00
|
|
|
With overwriteable DVD or BD media, -multi cannot mark the end of the session.
|
2007-08-28 14:31:42 +00:00
|
|
|
So when adding a new session this end has to be determined from the payload.
|
|
|
|
Currently only ISO-9660 filesystems can be used that way. See option
|
|
|
|
.B \--grow_overwriteable_iso
|
|
|
|
for lifting the ban on -multi.
|
|
|
|
.br
|
2007-08-02 08:32:50 +00:00
|
|
|
Note: -multi might make DVD media unreadable in some DVD-ROM drives.
|
2006-12-13 19:30:31 +00:00
|
|
|
.TP
|
2012-01-01 12:55:41 +00:00
|
|
|
.BI \-nocopy
|
2012-01-01 13:50:26 +00:00
|
|
|
Create subsequent tracks with permission for a single level of copies.
|
|
|
|
I.e. those copies would then be marked by -scms as offering no permission
|
|
|
|
for further copies.
|
2012-01-01 12:55:41 +00:00
|
|
|
.TP
|
2006-12-13 19:30:31 +00:00
|
|
|
.BI \-nopad
|
|
|
|
Do not add trailing zeros to the data stream. Nevertheless, since there seems
|
|
|
|
to be no use for audio tracks with incomplete last sector, this option applies
|
|
|
|
only to data tracks. There it is default.
|
|
|
|
.TP
|
2012-01-01 12:55:41 +00:00
|
|
|
.BI \-nopreemp
|
2012-01-01 13:50:26 +00:00
|
|
|
Indicate for subsequent tracks that they were mastered without pre-emphasis.
|
2012-01-01 12:55:41 +00:00
|
|
|
.TP
|
2006-12-13 19:30:31 +00:00
|
|
|
.BI \-pad
|
2007-06-10 08:06:03 +00:00
|
|
|
Add 30 kiB of trailing zeros to each data track. (This is not sufficient to
|
2006-12-13 19:30:31 +00:00
|
|
|
avoid problems with various CD-ROM read drivers.)
|
|
|
|
.TP
|
|
|
|
.BI padsize= size
|
|
|
|
Add the given amount of trailing zeros to the next data track. This option
|
|
|
|
gets reset to padsize=0 after that next track is written. It may be set
|
|
|
|
again before the next track argument. About size specifiers, see option fs=.
|
|
|
|
.TP
|
2012-01-01 12:55:41 +00:00
|
|
|
.BI \-preemp
|
2012-01-01 13:50:26 +00:00
|
|
|
Indicate for subsequent tracks that they were mastered with pre-emphasis.
|
2012-01-01 12:55:41 +00:00
|
|
|
.TP
|
2006-12-13 19:30:31 +00:00
|
|
|
.BI \-sao
|
2009-05-07 18:12:32 +00:00
|
|
|
Write CD in Session At Once mode or sequential DVD-R[W] in Disc-at-once
|
|
|
|
(DAO) mode.
|
2007-02-06 19:19:54 +00:00
|
|
|
.br
|
|
|
|
With CD this mode is able to put several audio tracks on media without
|
|
|
|
producing audible gaps between them.
|
|
|
|
.br
|
|
|
|
With DVD-R[W] this mode can only write a single track.
|
|
|
|
No -multi is allowed with DVD-R[W] -sao.
|
|
|
|
.br
|
2009-05-07 18:12:32 +00:00
|
|
|
-sao is permissible with overwriteable DVD, or DVD+R[/DL], or BD but actually
|
2008-02-28 12:32:34 +00:00
|
|
|
only imposes restrictions without providing known advantages.
|
2007-03-08 21:55:50 +00:00
|
|
|
.br
|
2007-02-06 19:19:54 +00:00
|
|
|
-sao can only be used for tracks of fixely predicted size. This implies that
|
2010-02-28 16:53:09 +00:00
|
|
|
track arguments which depict stdin or named pipes need to be preceded by
|
2007-02-06 19:19:54 +00:00
|
|
|
option tsize= or by option tao_to_sao_tsize=.
|
|
|
|
.br
|
|
|
|
-sao cannot be used on appendable media.
|
2006-12-13 19:30:31 +00:00
|
|
|
.TP
|
|
|
|
.BI \-scanbus
|
|
|
|
Scan the system for drives. On Linux the drives at /dev/s* and at /dev/hd*
|
|
|
|
are to be scanned by two separate runs. One without dev= for /dev/s* and
|
|
|
|
one with dev=ATA for /dev/hd* devices. (Option --drives lists all available
|
|
|
|
drives in a single run.)
|
|
|
|
.br
|
|
|
|
Drives which are busy or which offer no rw-permission to the user of cdrskin
|
|
|
|
are not listed. Busy drives get reported in form of warning messages.
|
|
|
|
.br
|
|
|
|
The useful fields in a result line are:
|
|
|
|
.br
|
|
|
|
Bus,Target,Lun Number) 'Vendor' 'Mode' 'Revision'
|
|
|
|
.TP
|
2012-01-01 12:55:41 +00:00
|
|
|
.BI \-scms
|
2012-01-01 13:50:26 +00:00
|
|
|
Create subsequent tracks without permission for being copied. This is usually
|
|
|
|
done for tracks which are copies of tracks that were marked with -nocopy
|
|
|
|
(but not yet with -scms). So copies of copies are prohibited.
|
2012-01-01 12:55:41 +00:00
|
|
|
.br
|
2012-01-01 13:50:26 +00:00
|
|
|
This option gets reset by option -copy. Thus the combination -copy -nocopy
|
|
|
|
means -nocopy surely without -scms.
|
2012-01-01 12:55:41 +00:00
|
|
|
.TP
|
2006-12-13 19:30:31 +00:00
|
|
|
.BI speed= number
|
|
|
|
Set speed of drive. With data CD, 1x speed corresponds to a throughput of
|
2007-02-03 18:46:42 +00:00
|
|
|
150,000 bytes/second. With DVD, 1x = 1,385,000 bytes/second.
|
2008-04-25 13:24:39 +00:00
|
|
|
With BD 1x = 4,495,625 bytes/second.
|
2007-02-03 18:46:42 +00:00
|
|
|
It is not an error to set a speed higher than is suitable for drive
|
2006-12-13 19:30:31 +00:00
|
|
|
and media. One should stay within a realistic speed range, though.
|
2007-07-17 08:55:10 +00:00
|
|
|
Special speed settings are:
|
|
|
|
.br
|
2007-08-09 13:28:40 +00:00
|
|
|
0 = minimal speed , -1 = maximal speed (default), text "any" = like -1.
|
2006-12-13 19:30:31 +00:00
|
|
|
.TP
|
|
|
|
.BI \-swab
|
2006-12-14 10:22:17 +00:00
|
|
|
Announce that the raw audio data source of subsequent tracks is byte swapped
|
|
|
|
versus the expectations of cdrecord. This option is suitable for audio where
|
2006-12-13 19:30:31 +00:00
|
|
|
the least significant byte of a 16 bit word is first (little-endian, Intel).
|
|
|
|
Most raw audio data on PC systems are available in this byte order.
|
|
|
|
Less guesswork is needed if track sources are in format MS-WAVE in a file with
|
|
|
|
suffix ".wav".
|
|
|
|
.TP
|
|
|
|
.BI \-tao
|
2007-03-08 21:55:50 +00:00
|
|
|
Write CD in Track At Once (TAO) mode, sequential DVD-R[W] in Incremental
|
2008-02-28 12:32:34 +00:00
|
|
|
Streaming mode, or DVD+R[/DL] without traditional -sao restrictions.
|
2008-04-25 13:24:39 +00:00
|
|
|
This mode also applies pro-forma to overwriteable media
|
2007-02-06 19:19:54 +00:00
|
|
|
.br
|
|
|
|
Mode -tao can be used with track sources of unpredictable size, like standard
|
|
|
|
input or named pipes. It is also the only mode that can be used for writing
|
|
|
|
to appendable media which already hold data. With unformatted DVD-R[W] it is
|
|
|
|
the only mode which allows -multi.
|
2010-08-21 09:56:16 +00:00
|
|
|
.br
|
|
|
|
Mode -tao is not usable for minimally blanked DVD-RW and for DVD-R DL.
|
2006-12-13 19:30:31 +00:00
|
|
|
.TP
|
2011-12-25 10:51:01 +00:00
|
|
|
.BI \-text
|
|
|
|
Enable writing of CD-TEXT attributes read by option cuefile=.
|
|
|
|
Without option -text, cue sheet file command CDTEXTFILE will be ignored and
|
2011-12-30 16:47:57 +00:00
|
|
|
no CD-TEXT attributes will be read from the file. Nevertheless, CATALOG and
|
|
|
|
ISRC will have the same effect as options mcn= and isrc=.
|
2011-12-25 10:51:01 +00:00
|
|
|
.TP
|
2011-12-05 20:38:36 +00:00
|
|
|
.BI textfile= path
|
|
|
|
Read CD-TEXT packs from the file depicted by path and put them into the
|
|
|
|
Lead-in of the emerging session. This session has to be done by Session At Once
|
2011-12-15 10:43:07 +00:00
|
|
|
(SAO) mode and may only contain audio tracks.
|
2011-12-05 20:38:36 +00:00
|
|
|
.br
|
|
|
|
path must lead to a regular file, which consists of an optional header of four
|
|
|
|
bytes and one or more text packs of 18 bytes each. Suitable would be the
|
|
|
|
file 'cdtext.dat' which gets extracted from CD media by options -vv -toc
|
|
|
|
and shown in human readable form by -vvv -toc.
|
|
|
|
.br
|
|
|
|
The header, if present, must tell the file size minus 2, encoded as big-endian
|
|
|
|
16 bit word. The other two bytes must be 0.
|
|
|
|
.br
|
2011-12-12 09:13:27 +00:00
|
|
|
If there is no 4-byte header, then a trailing 0-byte, as of Sony specification,
|
|
|
|
is tolerated and ignored.
|
|
|
|
.br
|
2011-12-05 20:38:36 +00:00
|
|
|
A text pack consists of a pack type byte, a track number byte, a counter byte,
|
|
|
|
a Block Number and Character Indicator byte, 12 text characters or data bytes,
|
2011-12-12 09:13:27 +00:00
|
|
|
two optional CRC bytes. For details see libburn documentation file
|
|
|
|
doc/cdtext.txt.
|
|
|
|
.br
|
|
|
|
By default, the input file is checked for correct CRC bytes. If all CRC bytes
|
|
|
|
are 0, then the correct values get silently inserted. If there are non-zero
|
|
|
|
CRC bytes, then a mismatch causes the abort of the burn run.
|
|
|
|
This check can be disabled by option -force.
|
2011-12-05 20:38:36 +00:00
|
|
|
.br
|
2011-12-14 13:26:06 +00:00
|
|
|
Note that this option overrides option input_sheet_v07t= .
|
2011-12-05 20:38:36 +00:00
|
|
|
.TP
|
2006-12-13 19:30:31 +00:00
|
|
|
.BI \-toc
|
2007-02-03 18:46:42 +00:00
|
|
|
Print the table of content (TOC) which describes the tracks recorded on disc.
|
2006-12-13 19:30:31 +00:00
|
|
|
The output contains all info from option -atip plus lines which begin with
|
2006-12-18 12:29:20 +00:00
|
|
|
"track:", the track number, the word "lba:" and a number which gives the
|
|
|
|
start address of the track. Addresses are counted in CD sectors which with
|
|
|
|
SAO or TAO data tracks hold 2048 bytes each.
|
2011-12-02 17:17:28 +00:00
|
|
|
.br
|
|
|
|
If verbosity is set to level 2 (-v -v) then the CD-TEXT packs from the lead-in
|
2011-12-05 20:38:36 +00:00
|
|
|
of an audio CD get extracted and written into file 'cdtext.dat', if that file
|
2011-12-02 17:17:28 +00:00
|
|
|
does not yet exist. Prepended is a 4 byte header, followed by one or more
|
|
|
|
packs of 18 bytes each.
|
|
|
|
.br
|
|
|
|
Verbosity level 3 causes the CD-TEXT packs to be printed as hex numbers to
|
|
|
|
standard output. Bytes 4 to 15 of certain pack types are printed as ASCII
|
|
|
|
characters if they have values in the range of 32 to 126.
|
2011-12-05 20:38:36 +00:00
|
|
|
.br
|
|
|
|
See option textfile= for more information about the text pack format.
|
2006-12-13 19:30:31 +00:00
|
|
|
.RS
|
|
|
|
.TP
|
|
|
|
Example. Retrieve an afio archive from track number 2:
|
|
|
|
.br
|
|
|
|
tracknumber=2
|
|
|
|
.br
|
|
|
|
lba=$(cdrskin dev=/dev/cdrom -toc 2>&1 | \\
|
|
|
|
.br
|
2006-12-18 12:29:20 +00:00
|
|
|
grep '^track:[ ]*[ 0-9][0-9]' | \\
|
2006-12-13 19:30:31 +00:00
|
|
|
.br
|
|
|
|
tail +"$tracknumber" | head -1 | \\
|
|
|
|
.br
|
|
|
|
awk '{ print $4}' )
|
|
|
|
.br
|
|
|
|
dd if=/dev/cdrom bs=2048 skip="$lba" | \\
|
|
|
|
.br
|
|
|
|
afio -t - | less
|
|
|
|
.RE
|
|
|
|
.TP
|
|
|
|
.BI tsize= size
|
|
|
|
Announces the exact size of the next track source. This is necessary with any
|
|
|
|
write mode other than -tao if the track source is not a regular disk file, but
|
|
|
|
e.g. "-" (standard input) or a named pipe.
|
|
|
|
About size specifiers, see option fs=.
|
|
|
|
.br
|
|
|
|
If the track source does not deliver the predicted amount of bytes, the
|
|
|
|
remainder of the track is padded with zeros. This is not considered an error.
|
|
|
|
If on the other hand the track source delivers more than the announced bytes
|
2007-02-06 19:19:54 +00:00
|
|
|
then the track on media gets truncated to the predicted size and cdrskin exits
|
2006-12-13 19:30:31 +00:00
|
|
|
with non-zero value.
|
|
|
|
.TP
|
|
|
|
.BI \-v
|
2011-12-02 17:17:28 +00:00
|
|
|
Increment verbosity level by one. Startlevel is 0 with only few messages.
|
2006-12-13 19:30:31 +00:00
|
|
|
Level 1 prints progress report with long running operations and also causes
|
|
|
|
some extra lines to be put out with info retrieval options.
|
|
|
|
Level 2 additionally reports about option settings derived from arguments or
|
|
|
|
startup files. Level 3 is for debugging and useful mainly in conjunction with
|
|
|
|
somebody who had a look into the program sourcecode.
|
2007-09-19 10:12:24 +00:00
|
|
|
.TP
|
2009-11-12 19:34:58 +00:00
|
|
|
.BI \-V
|
|
|
|
Enable logging of SCSI commands to stderr. This allows expert examination
|
|
|
|
of the interaction between libburn and the drive. The commands are specified
|
|
|
|
in SCSI-3 standards SPC, SBC, MMC.
|
|
|
|
.TP
|
2007-09-19 10:12:24 +00:00
|
|
|
.BI \-waiti
|
|
|
|
Wait until input data is available at stdin or EOF occurs at stdin.
|
|
|
|
Only then begin to access any drives.
|
|
|
|
.br
|
|
|
|
One should use this if cdrskin is working at the end of a pipe where the
|
|
|
|
feeder process reads from the drive before it starts writing its output into
|
|
|
|
cdrskin. Example:
|
|
|
|
.br
|
|
|
|
mkisofs ... -C 0,12800 -M /dev/sr0 | \\
|
|
|
|
.br
|
|
|
|
cdrskin dev=/dev/sr0 ... -waiti -
|
|
|
|
.br
|
|
|
|
This option works even if stdin is not among the track sources. If no process
|
|
|
|
is piping in, then the Enter key of your terminal will act as trigger for
|
|
|
|
cdrskin. Note that this input line will not be consumed by cdrskin if stdin
|
|
|
|
is not among the track sources. It will end up as shell command, usually.
|
2006-12-13 19:30:31 +00:00
|
|
|
.PP
|
|
|
|
Alphabetical list of options which are genuine to cdrskin and intended for
|
|
|
|
normal use:
|
|
|
|
.TP
|
2007-07-19 17:27:26 +00:00
|
|
|
.BI \--adjust_speed_to_drive
|
2010-02-28 16:53:09 +00:00
|
|
|
Curb explicitly given speed= values to the maximum which is announced by the
|
2007-07-19 17:27:26 +00:00
|
|
|
drive for the loaded media. By default, such an adjustment is only made with
|
|
|
|
pseudo-speeds 0 and -1 whereas speed settings > 0 are sent unchanged to the
|
|
|
|
drive which will then choose an appropriate speed on its own.
|
|
|
|
.TP
|
2007-09-08 16:49:19 +00:00
|
|
|
.BI \--allow_emulated_drives
|
|
|
|
Enable drive addresses of the form dev=stdio:<path>. See above, paragraph
|
|
|
|
"Drive preparation and addressing".
|
|
|
|
.TP
|
2006-12-13 22:12:36 +00:00
|
|
|
.BI \--allow_setuid
|
|
|
|
Disable the loud warning about insecure discrepance between login user and
|
|
|
|
effective user which indicates application of chmod u+s to the program binary.
|
|
|
|
One should not do this chmod u+s , but it is an old cdrecord tradition.
|
|
|
|
.TP
|
2006-12-13 19:30:31 +00:00
|
|
|
.BI \--any_track
|
|
|
|
Allow source_addresses to begin with "-" (plus further characters) or to
|
|
|
|
contain a "=" character.
|
|
|
|
By default such arguments are seen as misspelled options. It is nevertheless
|
|
|
|
not possible to use one of the options listed with --list_ignored_options.
|
|
|
|
.TP
|
2007-03-09 13:43:57 +00:00
|
|
|
.BI assert_write_lba= block_number | byte_address
|
|
|
|
Abort if the write address given with this option is not the same as predicted
|
|
|
|
immediately before the write session starts. This option can ensure that a
|
|
|
|
start address which was presumed by a formatter like mkisofs -C is really used
|
|
|
|
by the drive for writing.
|
|
|
|
assert_write_lba=0 effectively demands blank media and excludes appendables.
|
|
|
|
.br
|
|
|
|
Block numbering is peculiar: If the last character of the option string is
|
|
|
|
a letter [a-zA-Z] then the usual unit scaling by "s", "k", "m", etc. applies
|
|
|
|
and the result is divided by 2048. Else the number value of the string is
|
|
|
|
taken as plain block number with block size 2048 byte.
|
|
|
|
(E.g ...=1000 or ...=1000s means block 1000, ...=1m means block
|
|
|
|
512, ...=4096b means block number 2)
|
|
|
|
.TP
|
2006-12-13 19:30:31 +00:00
|
|
|
.BI \--demand_a_drive
|
|
|
|
Exit with a nonzero value if no drive can be found during a bus scan.
|
|
|
|
.TP
|
|
|
|
.BI \--devices
|
2006-12-15 10:15:50 +00:00
|
|
|
List the device file addresses of all accessible CD drives. In order to get
|
|
|
|
listed, a drive has to offer rw-permission for the cdrskin user and it may
|
|
|
|
not be busy. The superuser should be able to see all idle drives listed and
|
|
|
|
busy drives reported as "SORRY" messages.
|
2006-12-13 19:30:31 +00:00
|
|
|
.br
|
|
|
|
Each available drive gets listed by a line containing the following fields:
|
|
|
|
.br
|
|
|
|
Number dev='Devicefile' rw-Permissions : 'Vendor' 'Model'
|
|
|
|
.br
|
|
|
|
Number and Devicefile can both be used with option dev=, but number is
|
|
|
|
volatile (numbering changes if drives become busy).
|
|
|
|
.TP
|
2011-07-28 19:16:06 +00:00
|
|
|
.BI \--device_links
|
|
|
|
Like --devices, but presenting the drives with addresses of symbolic links
|
|
|
|
which point to the actual device files.
|
|
|
|
.br
|
|
|
|
Modern GNU/Linux systems may shuffle drive addresses from boot to boot.
|
|
|
|
The udev daemon is supposed to create links which always point to the
|
|
|
|
same drive, regardless of its system address.
|
|
|
|
Option --device_links shows the addresses of such links if they begin
|
|
|
|
by "/dev/dvd" or "/dev/cd".
|
|
|
|
Precedence is: "dvdrw", "cdrw", "dvd", "cdrom", "cd".
|
|
|
|
.TP
|
2007-08-13 08:17:57 +00:00
|
|
|
.BI direct_write_amount= size
|
|
|
|
Do not write a session with tracks but rather make an appropriate number of
|
|
|
|
direct write operations with no preparations. Flushing the drive buffer will
|
|
|
|
be the only finalization. It is advised to eject the media afterwards because
|
|
|
|
the write operations circumvent the usual system i/o with its caches and
|
|
|
|
buffers. By ejecting, those invalid memory copies get surely discarded.
|
|
|
|
.br
|
2008-04-25 13:24:39 +00:00
|
|
|
Only few media can be written this way: DVD-RAM, BD-RE, RVD+RW and
|
|
|
|
overwriteable DVD-RW. Writing is restricted to the already formatted
|
|
|
|
area of the media.
|
2007-08-13 08:17:57 +00:00
|
|
|
.br
|
|
|
|
Writing starts at byte 0 of the media or at the address given by option
|
|
|
|
.B write_start_address= .
|
|
|
|
Only the first track source is used as input for the write operations.
|
|
|
|
The fifo (fs=) is disabled.
|
|
|
|
.br
|
|
|
|
Parameter
|
|
|
|
.B size
|
|
|
|
controls the amount of data to be written. Size 0 means that the track source
|
|
|
|
shall be used up until EOF. In this case, the last write transaction gets
|
|
|
|
padded up to the necessary size by zeros. Size -1 revokes direct writing
|
|
|
|
and switches back to normal session oriented writing.
|
|
|
|
.br
|
|
|
|
Both, write_start_address and direct_write_amount size must be aligned to a
|
2008-04-25 13:24:39 +00:00
|
|
|
media dependend transaction size. With DVD-RAM, BD-RE, DVD+RW this is 2k, with
|
2007-08-13 08:17:57 +00:00
|
|
|
overwriteable DVD-RW it is 32k.
|
|
|
|
.TP
|
2009-11-15 16:49:04 +00:00
|
|
|
.BI dvd_obs= default|32k|64k
|
|
|
|
Linux specific:
|
|
|
|
Set the number of bytes to be transmitted with each write operation to DVD
|
2009-11-16 16:53:07 +00:00
|
|
|
or BD media. Tracks get padded up to the next multiple of this write
|
|
|
|
size. A number of 64 KB may improve throughput with bus systems which
|
|
|
|
show latency problems. The default depends on media type, option
|
|
|
|
stream_recording=, and on compile time options.
|
2009-11-15 16:49:04 +00:00
|
|
|
.TP
|
2007-09-19 21:28:18 +00:00
|
|
|
.BI fallback_program= command
|
|
|
|
Set a command name to be executed if cdrskin encounters a known cdrecord
|
|
|
|
option which it does not yet support. If a non-empty command is given with
|
|
|
|
fallback_program=, and if no essential options are given which are specific
|
|
|
|
to cdrskin, then cdrskin will delegate the job to said command.
|
|
|
|
.br
|
|
|
|
The natural commands to be given are cdrecord or wodim but one may well submit
|
|
|
|
the address of an own program.
|
|
|
|
.br
|
2010-02-28 16:53:09 +00:00
|
|
|
The fallback program will get all arguments of cdrskin which do not match
|
2007-09-19 21:28:18 +00:00
|
|
|
the shell patterns --?* or *_*=* . This eventually suppresses path names of
|
|
|
|
track sources which happen to match those patterns. The options from the
|
|
|
|
startup files are not handed to the fallback program.
|
|
|
|
.br
|
|
|
|
Fallback program execution is disabled if cdrskin is run setuid and not
|
|
|
|
option --allow_setuid is given. In general, the drive's device files and the
|
2007-09-20 13:00:02 +00:00
|
|
|
involved programs should be set up so that each program runs under its advised
|
2007-09-19 21:28:18 +00:00
|
|
|
conditions. (E.g. cdrskin as member of group floppy, cdrecord setuid root.)
|
|
|
|
.br
|
|
|
|
Two alias names for cdrskin are predefined with default fallback programs:
|
|
|
|
.br
|
|
|
|
.B unicord
|
|
|
|
implies fallback_program=cdrecord
|
|
|
|
.br
|
|
|
|
.B codim
|
|
|
|
implies fallback_program=wodim
|
2012-01-01 13:50:26 +00:00
|
|
|
.TP
|
|
|
|
.BI --four_channel
|
|
|
|
Indicate for subsequent tracks that they were mastered with four channels.
|
2007-09-19 21:28:18 +00:00
|
|
|
.TP
|
2006-12-13 19:30:31 +00:00
|
|
|
.BI fifo_start_at= size
|
|
|
|
Do not wait for full fifo but start burning as soon as the given number
|
|
|
|
of bytes is read. This option may be helpful to bring the average throughput
|
|
|
|
near to the maximum throughput of a drive. A large fs= and a small
|
|
|
|
fifo_start_at= combine a quick burn start and a large savings buffer to
|
2006-12-14 10:22:17 +00:00
|
|
|
compensate for temporary lack of source data. At the beginning of burning,
|
2006-12-13 19:30:31 +00:00
|
|
|
the software protection against buffer underun is as weak as the size of
|
|
|
|
fifo_start_at= . So it is best if the drive offers hardware protection which
|
2007-01-30 22:01:10 +00:00
|
|
|
is enabled automatically if not driveropts=noburnfree is given.
|
2006-12-13 19:30:31 +00:00
|
|
|
.TP
|
2007-08-26 20:09:47 +00:00
|
|
|
.BI \--grow_overwriteable_iso
|
|
|
|
Enable emulation of multi-session writing on overwriteable media which
|
|
|
|
contain an ISO-9660 filesystem. This emulation is learned from growisofs -M
|
|
|
|
but adapted to the usage model of
|
|
|
|
.br
|
2007-09-19 10:12:24 +00:00
|
|
|
.B cdrskin -msinfo
|
|
|
|
.br
|
|
|
|
.B mkisofs -C -M | cdrskin -waiti [-multi] -
|
2007-08-26 20:09:47 +00:00
|
|
|
.br
|
|
|
|
--grow_overwriteable_iso does not hamper the use of true multi-session media.
|
2007-08-28 14:31:42 +00:00
|
|
|
I.e. it is possible to use the same cdrskin options with both kinds of media
|
|
|
|
and to achieve similar results if ISO-9660 filesystem images are to be written.
|
|
|
|
This option implies option -isosize and therefore demands that the track
|
|
|
|
source is a ISO-9660 filesystem image.
|
|
|
|
.br
|
2007-08-26 20:09:47 +00:00
|
|
|
With overwriteable media and no option blank=fast|all present it expands an
|
2007-08-28 14:31:42 +00:00
|
|
|
eventual ISO-9660 filesystem on media. It is assumed that this image's inner
|
|
|
|
size description points to the end of the valuable data.
|
2010-02-28 16:53:09 +00:00
|
|
|
Overwriteable media with a recognizable ISO-9660 size will be regarded as
|
2007-08-28 14:31:42 +00:00
|
|
|
appendable rather than as blank. I.e. options -msinfo and -toc will work.
|
|
|
|
-toc will always show a single session with its size increasing with
|
|
|
|
every added mkisofs image.
|
2007-08-26 20:09:47 +00:00
|
|
|
.br
|
2010-02-28 16:53:09 +00:00
|
|
|
If not overridden by option write_start_address=, the track with the new image
|
2007-08-28 14:31:42 +00:00
|
|
|
will be placed behind the end of the old one. One may use option
|
|
|
|
assert_write_lba= to make sure that media state and mkisofs job do match.
|
2007-08-26 20:09:47 +00:00
|
|
|
.br
|
|
|
|
--grow_overwriteable_iso causes option blank=fast|all to invalidate an
|
|
|
|
eventual ISO-9660 image by altering the first few bytes of block 16 on
|
|
|
|
overwriteable media.
|
2007-08-28 14:31:42 +00:00
|
|
|
Option -multi is tolerated in order not to hamper true multi-session media.
|
2007-08-26 20:09:47 +00:00
|
|
|
.br
|
2007-09-19 10:12:24 +00:00
|
|
|
An equivalent of growisofs -Z for overwriteable media is:
|
|
|
|
.br
|
|
|
|
.B mkisofs | cdrskin --grow_overwriteable_iso blank=fast [-multi] -
|
2007-08-26 20:09:47 +00:00
|
|
|
.br
|
2007-09-19 10:12:24 +00:00
|
|
|
With multi-session DVD, blank=fast will act like dvd+rw-format -blank=full .
|
2007-08-26 20:09:47 +00:00
|
|
|
.br
|
|
|
|
growisofs -dvd-compat is roughly equivalent to cdrskin without option -multi.
|
|
|
|
.TP
|
2011-12-14 13:26:06 +00:00
|
|
|
.BI input_sheet_v07t= path
|
|
|
|
Read CD-TEXT definitions from a Sony Input Sheet version 0.7T. Up to eight
|
2011-12-30 16:47:57 +00:00
|
|
|
or seven such sheets can be read by multiple input_sheet_v07t= options.
|
2011-12-14 13:26:06 +00:00
|
|
|
Each will define a CD-TEXT language block.
|
|
|
|
.br
|
|
|
|
The information in such a sheet is given by text lines of the following form:
|
2011-12-14 14:27:27 +00:00
|
|
|
.br
|
2011-12-14 13:26:06 +00:00
|
|
|
purpose specifier [whitespace] = [whitespace] content text
|
2011-12-14 14:27:27 +00:00
|
|
|
.br
|
2011-12-14 13:26:06 +00:00
|
|
|
[whitespace] is zero or more ASCII 32 (space) or ASCII 9 (tab) characters.
|
|
|
|
The purpose specifier tells the meaning of the content text.
|
|
|
|
Empty content text does not cause a CD-TEXT attribute to be attached.
|
|
|
|
.br
|
|
|
|
The following purpose specifiers apply to the session as a whole:
|
2011-12-14 14:27:27 +00:00
|
|
|
.br
|
2011-12-14 13:26:06 +00:00
|
|
|
Purpose specifier | Content example
|
2011-12-14 14:27:27 +00:00
|
|
|
.br
|
2011-12-14 13:26:06 +00:00
|
|
|
-------------------------------------------------------------
|
2011-12-14 14:27:27 +00:00
|
|
|
.br
|
2011-12-14 13:26:06 +00:00
|
|
|
Text Code = 8859
|
2011-12-14 14:27:27 +00:00
|
|
|
.br
|
2011-12-14 13:26:06 +00:00
|
|
|
Language Code = English
|
2011-12-14 14:27:27 +00:00
|
|
|
.br
|
2011-12-14 13:26:06 +00:00
|
|
|
Album Title = Joyful Nights
|
2011-12-14 14:27:27 +00:00
|
|
|
.br
|
2011-12-14 13:26:06 +00:00
|
|
|
Artist Name = United Cat Orchestra
|
2011-12-14 14:27:27 +00:00
|
|
|
.br
|
2011-12-14 13:26:06 +00:00
|
|
|
Songwriter = Various Songwriters
|
2011-12-14 14:27:27 +00:00
|
|
|
.br
|
2011-12-14 13:26:06 +00:00
|
|
|
Composer = Various Composers
|
2011-12-14 14:27:27 +00:00
|
|
|
.br
|
2011-12-14 13:26:06 +00:00
|
|
|
Arranger = Tom Cat
|
2011-12-14 14:27:27 +00:00
|
|
|
.br
|
2011-12-14 13:26:06 +00:00
|
|
|
Album Message = For all our fans
|
2011-12-14 14:27:27 +00:00
|
|
|
.br
|
2011-12-14 13:26:06 +00:00
|
|
|
Catalog Number = 1234567890
|
2011-12-14 14:27:27 +00:00
|
|
|
.br
|
2011-12-14 13:26:06 +00:00
|
|
|
Genre Code = Classical
|
2011-12-14 14:27:27 +00:00
|
|
|
.br
|
2011-12-14 13:26:06 +00:00
|
|
|
Genre Information = Feline classic music
|
2011-12-14 14:27:27 +00:00
|
|
|
.br
|
2011-12-14 13:26:06 +00:00
|
|
|
Closed Information = This is not to be shown by CD players
|
2011-12-14 14:27:27 +00:00
|
|
|
.br
|
2011-12-14 13:26:06 +00:00
|
|
|
UPC / EAN = 1234567890123
|
2011-12-14 14:27:27 +00:00
|
|
|
.br
|
2011-12-14 13:26:06 +00:00
|
|
|
Text Data Copy Protection = OFF
|
2011-12-14 14:27:27 +00:00
|
|
|
.br
|
2011-12-14 13:26:06 +00:00
|
|
|
First Track Number = 1
|
2011-12-14 14:27:27 +00:00
|
|
|
.br
|
2011-12-14 13:26:06 +00:00
|
|
|
Last Track Number = 3
|
|
|
|
.br
|
|
|
|
The following purpose specifiers apply to particular tracks:
|
2011-12-14 14:27:27 +00:00
|
|
|
.br
|
2011-12-14 13:26:06 +00:00
|
|
|
Purpose specifier | Content example
|
2011-12-14 14:27:27 +00:00
|
|
|
.br
|
2011-12-14 13:26:06 +00:00
|
|
|
-------------------------------------------------------------
|
2011-12-14 14:27:27 +00:00
|
|
|
.br
|
2011-12-14 13:26:06 +00:00
|
|
|
Track 01 Title = Song of Joy
|
2011-12-14 14:27:27 +00:00
|
|
|
.br
|
2011-12-14 13:26:06 +00:00
|
|
|
Track 01 Artist = Felix and The Purrs
|
2011-12-14 14:27:27 +00:00
|
|
|
.br
|
2011-12-14 13:26:06 +00:00
|
|
|
Track 01 Songwriter = Friedrich Schiller
|
2011-12-14 14:27:27 +00:00
|
|
|
.br
|
2011-12-14 13:26:06 +00:00
|
|
|
Track 01 Composer = Ludwig van Beethoven
|
2011-12-14 14:27:27 +00:00
|
|
|
.br
|
2011-12-14 13:26:06 +00:00
|
|
|
Track 01 Arranger = Tom Cat
|
2011-12-14 14:27:27 +00:00
|
|
|
.br
|
2011-12-14 13:26:06 +00:00
|
|
|
Track 01 Message = Fritz and Louie once were punks
|
2011-12-14 14:27:27 +00:00
|
|
|
.br
|
2011-12-14 13:26:06 +00:00
|
|
|
ISRC 01 = XYCRR1101234
|
|
|
|
.br
|
|
|
|
Track numbers are decimal despite the leading 0. There should be as many track
|
|
|
|
definitions as there are track source files given.
|
|
|
|
.br
|
|
|
|
See libburn's doc/cdtext.txt for a detailed definition of 0.7T and the
|
|
|
|
possible values for Text Code, Language Code, Genre Code, Text Data Copy
|
|
|
|
Protection.
|
|
|
|
.br
|
2011-12-30 17:44:19 +00:00
|
|
|
The Q sub-channel settings by "UPC / EAN" and "ISRC" may be overridden by
|
|
|
|
options mcn= and isrc=. This will not affect their appearance as CD-TEXT.
|
|
|
|
They may override cuefile= commands CATALOG and ISRC in the same way.
|
2011-12-30 16:47:57 +00:00
|
|
|
.br
|
|
|
|
If options -text cuefile= are given and if the cue sheet file defines CD-TEXT,
|
|
|
|
then only seven input_sheet_v07t= options may be given. They will then be
|
|
|
|
used as CD-TEXT language blocks 1 to 7.
|
|
|
|
.br
|
2011-12-14 13:26:06 +00:00
|
|
|
This option will get into effect only if no option textfile= is given.
|
2011-12-15 10:43:07 +00:00
|
|
|
The write mode must be SAO on CD. All tracks must be -audio tracks.
|
2011-12-14 13:26:06 +00:00
|
|
|
.TP
|
2008-04-23 11:02:11 +00:00
|
|
|
.BI \--list_formats
|
|
|
|
List the available format descriptors as reported by the drive for the
|
|
|
|
loaded media. Each descriptor line begins with "Format idx" and the
|
|
|
|
descriptor's list index, followed by a ":", the format type, the number
|
|
|
|
of payload blocks and that same number converted to MiB.
|
|
|
|
.br
|
|
|
|
The meaning of the format types is defined by the MMC standard
|
|
|
|
with command FORMAT UNIT. A user will more be interested in the
|
|
|
|
sizes than in the types.
|
|
|
|
.TP
|
2006-12-13 19:30:31 +00:00
|
|
|
.BI \--list_ignored_options
|
2007-02-09 16:14:47 +00:00
|
|
|
List all ignored cdrecord options. The "-" options cannot be used as addresses
|
2006-12-13 19:30:31 +00:00
|
|
|
of track sources. No track source address may begin with a text equal to an
|
2006-12-13 22:12:36 +00:00
|
|
|
option which ends by "=". The list is ended by an empty line.
|
2006-12-13 19:30:31 +00:00
|
|
|
.TP
|
2009-09-01 13:34:23 +00:00
|
|
|
.BI \--long_toc
|
|
|
|
Like option -toc but marking each session start by a line "first: X last: Y"
|
|
|
|
and each session end by "track:lout ...".
|
|
|
|
.TP
|
2006-12-14 14:06:23 +00:00
|
|
|
.BI \--no_rc
|
|
|
|
Only if used as first command line argument this option prevents reading and
|
|
|
|
interpretation of eventual startup files. See section FILES below.
|
|
|
|
.TP
|
2007-02-08 21:09:10 +00:00
|
|
|
.BI \--prodvd_cli_compatible
|
|
|
|
Activates behavior modifications with some DVD situations which bring cdrskin
|
|
|
|
nearer to the behavior of cdrecord-ProDVD:
|
|
|
|
.br
|
|
|
|
Option -multi with unsuitable media is not an error but simply has no effect.
|
|
|
|
.br
|
|
|
|
Options blank=fast and blank=all deformat overwriteable DVD-RW media.
|
|
|
|
.br
|
|
|
|
Option blank=fast does indeed minmal blanking with DVD-RW. This may yield media
|
2007-02-09 16:14:47 +00:00
|
|
|
which can only do DAO but not Incremental Streaming.
|
2007-02-08 21:09:10 +00:00
|
|
|
.TP
|
2006-12-13 19:30:31 +00:00
|
|
|
.BI \--single_track
|
|
|
|
Accept only the last argument of the command line as track source address.
|
2007-02-06 19:19:54 +00:00
|
|
|
.TP
|
2009-11-15 16:49:04 +00:00
|
|
|
.BI stdio_sync= on|off|number
|
|
|
|
Set the number of bytes after which to force output to drives with prefix
|
|
|
|
"stdio:". This forcing keeps the memory from being clogged with lots of
|
|
|
|
pending data for slow devices. Default "on" is the same as "16m".
|
|
|
|
Forced output can be disabled by "off".
|
|
|
|
.TP
|
|
|
|
.BI stream_recording= on|off|number
|
|
|
|
By setting "on" request that compliance to the desired speed setting is
|
|
|
|
preferred over management of write errors. With DVD-RAM and BD this can
|
|
|
|
bring effective write speed near to the nominal write speed of the media.
|
|
|
|
But it will also disable the automatic use of replacement blocks
|
|
|
|
if write errors occur. It might as well be disliked or ignored by the drive.
|
|
|
|
.br
|
|
|
|
If a number is given, then error management stays enabled for all byte
|
|
|
|
addresses below that number. Any number below 16s is the same as "off".
|
|
|
|
.TP
|
2007-02-06 19:19:54 +00:00
|
|
|
.BI tao_to_sao_tsize= size
|
|
|
|
Set an exact fixed size for the next track to be in effect only if the track
|
|
|
|
source cannot deliver a size prediction and no tsize= was specified and an
|
|
|
|
exact track size prediction is demanded by the write mode.
|
|
|
|
.br
|
|
|
|
This was the fallback from bad old times when cdrskin was unable to burn
|
|
|
|
in mode -tao . It came back with minimally blanked DVD-RW which allow no
|
|
|
|
Incremental Streaming (-tao) resp. with explicitly selected write mode -sao
|
|
|
|
for best DVD-ROM compatibility.
|
|
|
|
.br
|
|
|
|
If the track source delivers less bytes than announced then the missing ones
|
|
|
|
will be filled with zeros.
|
2006-12-23 11:24:11 +00:00
|
|
|
.TP
|
2007-02-14 20:38:04 +00:00
|
|
|
.BI --tell_media_space
|
|
|
|
Prepare a recording session, do not perform it but rather inquire the
|
|
|
|
maximum number of 2048 byte data blocks which may be written in
|
|
|
|
the current state of media with the prepared setup. So this option disables
|
|
|
|
recording of data. It does allow blanking, though, and will measure space
|
|
|
|
afterwards.
|
|
|
|
.br
|
|
|
|
It is not mandatory to give track sources but their nature may influence
|
|
|
|
the available capacity. So for most realistic results one may set up
|
|
|
|
the full burn session and add --tell_media_space. But if one has to expect
|
|
|
|
a cdrskin version prior to 0.3.3 no track source should be given in order
|
2007-02-18 09:48:00 +00:00
|
|
|
not to start an involuntary burn session.
|
2010-02-28 16:53:09 +00:00
|
|
|
In this case set at least -sao or -tao explicitly.
|
2007-02-14 20:38:04 +00:00
|
|
|
.br
|
2007-02-18 09:48:00 +00:00
|
|
|
The result gets printed to standard output. It is 0 or empty if no writing
|
|
|
|
is possible with the given options.
|
2007-02-14 20:38:04 +00:00
|
|
|
This option redirects to stderr all message output except its own result
|
|
|
|
string and eventual output of -msinfo.
|
|
|
|
.TP
|
2012-01-01 13:50:26 +00:00
|
|
|
.BI --two_channel
|
|
|
|
Indicate for subsequent tracks that they were mastered with two channels.
|
|
|
|
.TP
|
2006-12-23 11:24:11 +00:00
|
|
|
.BI write_start_address= byte_offset
|
2008-04-25 13:24:39 +00:00
|
|
|
Set the address on media where to start writing the track. With DVD+RW, DVD-RAM
|
|
|
|
or BD-RE byte_offset must be aligned to 2 kiB blocks, but better is 32 kiB.
|
2007-06-10 08:06:03 +00:00
|
|
|
With DVD-RW 32 kiB alignment is mandatory.
|
2007-01-12 16:26:31 +00:00
|
|
|
.br
|
2007-01-01 17:19:41 +00:00
|
|
|
Other media are not suitable for this option yet.
|
2006-12-13 19:30:31 +00:00
|
|
|
.PP
|
|
|
|
Alphabetical list of options which are only intended for very special
|
|
|
|
situations and not for normal use:
|
|
|
|
.TP
|
|
|
|
.BI \--abort_handler
|
|
|
|
Establish default signal handling not to leave a drive in busy state
|
|
|
|
but rather to shut it down and to wait until it has ended the final operations.
|
|
|
|
This option is only needed for revoking eventual --ignore_signals or
|
|
|
|
--no_abort_handler.
|
|
|
|
.TP
|
2007-02-23 19:10:30 +00:00
|
|
|
.BI \--allow_untested_media
|
|
|
|
Enable the use of media profiles which have been implemented but not yet
|
2010-08-21 09:56:16 +00:00
|
|
|
tested. Currently this option is without effect because no media types are
|
|
|
|
under test reservation.
|
2007-03-07 15:13:25 +00:00
|
|
|
.br
|
2010-08-21 09:56:16 +00:00
|
|
|
(If you really test experimental media, then please report the outcome on
|
|
|
|
libburn-hackers@pykix.org)
|
2007-02-23 19:10:30 +00:00
|
|
|
.TP
|
2011-12-18 16:11:47 +00:00
|
|
|
.BI \--cdtext_dummy
|
|
|
|
Prepare a burn run, report the effective array of CD-TEXT packs to stdout,
|
|
|
|
and then end the program run without starting to burn the session.
|
|
|
|
A blank CD-R or CD-RW has to be present in the drive, nevertheless.
|
|
|
|
.br
|
|
|
|
The output is formatted in lines which describe 18 bytes as 2-digit hex
|
|
|
|
numbers or as single printable characters.
|
|
|
|
See libburn document doc/cdtext.txt about the format of these records.
|
|
|
|
.TP
|
|
|
|
.BI \--cdtext_verbose
|
|
|
|
Like --cdtext_dummy but without preventing the burn run. Combinable with
|
|
|
|
option -dummy to exercise a CD burn run with no persistent impact on the
|
|
|
|
medium.
|
|
|
|
.TP
|
2006-12-13 19:30:31 +00:00
|
|
|
.BI dev_translation= <sep><from><sep><to>
|
2006-12-14 10:22:17 +00:00
|
|
|
Set drive address alias. This was necessary before cdrskin-0.2.4 to manually
|
2006-12-13 19:30:31 +00:00
|
|
|
translate cdrecord addresses into cdrskin addresses.
|
|
|
|
.br
|
|
|
|
<sep> is a single character which may not occur in the address string
|
|
|
|
<from>. <from> is an address as expected to be given by the user via option
|
|
|
|
dev=. <to> is the address to be used instead whenever <from> is given.
|
|
|
|
More than one translation instruction can be given in one cdrskin run.
|
|
|
|
.br
|
2007-04-22 13:22:43 +00:00
|
|
|
E.g.: dev_translation=+ATA:1,0,0+/dev/sr1 dev_translation=+ATA:1,1,0+/dev/sr2
|
2006-12-13 19:30:31 +00:00
|
|
|
.TP
|
|
|
|
.BI \--drive_abort_on_busy
|
|
|
|
Linux specific: Abort process if a busy drive is encountered.
|
|
|
|
.TP
|
|
|
|
.BI \--drive_blocking
|
|
|
|
Linux specific: Try to wait for a busy drive to become free.
|
|
|
|
This is not guaranteed to work with all drivers. Some need nonblocking i/o.
|
|
|
|
.TP
|
2007-04-13 17:28:25 +00:00
|
|
|
.BI \--drive_f_setlk
|
|
|
|
Linux specific: Try to get exclusive lock on drive device file via fcntl(2).
|
|
|
|
.TP
|
2006-12-13 19:30:31 +00:00
|
|
|
.BI \--drive_not_exclusive
|
2007-04-04 18:43:23 +00:00
|
|
|
Linux specific: Combine --drive_not_f_setlk and --drive_not_o_excl.
|
|
|
|
.TP
|
|
|
|
.BI \--drive_not_f_setlk
|
|
|
|
Linux specific: Do not try to get exclusive lock on drive device file via
|
|
|
|
fcntl(2).
|
|
|
|
.TP
|
|
|
|
.BI \--drive_not_o_excl
|
2006-12-13 19:30:31 +00:00
|
|
|
Linux specific: Do not ask the operating system to prevent opening busy drives.
|
|
|
|
Wether this leads to senseful behavior depends on operating system and kernel.
|
|
|
|
.TP
|
2007-03-14 13:37:32 +00:00
|
|
|
.BI drive_scsi_dev_family= sr | scd | sg
|
2008-08-05 18:00:37 +00:00
|
|
|
Linux specific: Select a SCSI device file family to be scanned for by
|
2011-07-28 19:16:06 +00:00
|
|
|
options --devices, --device_links and -scanbus.
|
2008-08-05 18:00:37 +00:00
|
|
|
Normally this is /dev/sgN on kernel versions < 2.6 and /dev/srN
|
2010-02-28 16:53:09 +00:00
|
|
|
on kernels >= 2.6 . This option allows to explicitly override that default
|
2007-03-15 20:34:08 +00:00
|
|
|
in order to meet other programs at a common device file for each drive.
|
2007-04-22 13:22:43 +00:00
|
|
|
On kernel 2.4 families sr and scd will find no drives.
|
2007-03-15 20:34:08 +00:00
|
|
|
.br
|
|
|
|
Device file family /dev/hdX on kernel >= 2.6 is not affected by this setting.
|
2007-03-14 13:37:32 +00:00
|
|
|
.TP
|
2006-12-13 19:30:31 +00:00
|
|
|
.BI \--drive_scsi_exclusive
|
|
|
|
Linux specific:
|
2007-04-09 10:54:17 +00:00
|
|
|
Try to exclusively reserve device files /dev/srN, /dev/scdM, /dev/sgK of drives.
|
|
|
|
This would be helpful to protect against collisions with program growisofs.
|
2006-12-13 19:30:31 +00:00
|
|
|
Regrettably on Linux kernel 2.4 with ide-scsi emulation this seems not to
|
|
|
|
work. Wether it becomes helpful with new Linux systems has to be evaluated.
|
|
|
|
.TP
|
|
|
|
.BI \--fifo_disable
|
|
|
|
Disable fifo despite any fs=.
|
|
|
|
.TP
|
|
|
|
.BI \--fifo_per_track
|
|
|
|
Use a separate fifo for each track.
|
|
|
|
.TP
|
2007-02-14 20:38:04 +00:00
|
|
|
.BI \--fill_up_media
|
|
|
|
Expand the last track of the session to occupy all remaining free space on
|
|
|
|
the media.
|
2007-02-17 08:56:41 +00:00
|
|
|
.br
|
|
|
|
This option overrides option -multi. It will not fill up media if option -sao
|
|
|
|
is given with CD media.
|
|
|
|
.br
|
|
|
|
.B Caution:
|
2007-08-02 08:32:50 +00:00
|
|
|
With multi-session media this option might increase readatibility on DVD-ROM
|
|
|
|
drives but with some DVD recorders and media types it might also fail to
|
|
|
|
produce readable media at all. "Your mileage may vary".
|
|
|
|
.br
|
|
|
|
You can expect the best possible read compatibility if you do not use -multi at
|
|
|
|
all.
|
2007-02-14 20:38:04 +00:00
|
|
|
.TP
|
2006-12-13 19:30:31 +00:00
|
|
|
.BI grab_drive_and_wait= seconds
|
|
|
|
Open the addressed drive, wait the given number of seconds, release the drive,
|
|
|
|
and do normal work as indicated by the other options used. This option helps
|
|
|
|
to explore the program behavior when faced with busy drives. Just start a
|
|
|
|
second cdrskin with option --devices while grab_drive_and_wait= is still
|
|
|
|
active.
|
|
|
|
.TP
|
|
|
|
.BI \--ignore_signals
|
|
|
|
Try to ignore any signals rather than to abort the program. This is not a
|
|
|
|
very good idea. You might end up waiting a very long time for cdrskin
|
|
|
|
to finish.
|
|
|
|
.TP
|
2007-07-12 17:31:57 +00:00
|
|
|
.BI modesty_on_drive= <mode>[:min_percent=<num>][:max_percent=<num>]
|
|
|
|
Mode 1 keeps the program from trying to write to the burner drive while its
|
|
|
|
buffer is in danger to be filled by more than max_percent. If this filling is
|
|
|
|
exceeded then the program will wait until the filling is at most min_percent.
|
|
|
|
.br
|
|
|
|
This can ease the load on operating system and drive controller and thus help
|
|
|
|
with achieving better input bandwidth if disk and burner are not on independent
|
|
|
|
controllers (like hda and hdb). Unsufficient input bandwidth is indicated by
|
|
|
|
output "(fifo xy%)" of option -v if xy is lower than 90 for some time.
|
|
|
|
modesty_on_drive= might hamper output bandwidth and cause buffer underruns.
|
|
|
|
.br
|
|
|
|
To have max_percent larger than the burner's best actual
|
|
|
|
buffer fill has the same effect as min_percent==max_percent. Some burners
|
|
|
|
do not use their full buffer with all media types. Watch output "[buf xy%]"
|
|
|
|
of option -v to get an impression of the actual buffer usage. Some burners
|
|
|
|
are not suitable because they report buffer fill with granularity too large
|
|
|
|
in size or time.
|
|
|
|
.br
|
|
|
|
Mode 0 disables this feature. Mode -1 keeps it unchanged. Default is:
|
|
|
|
.br
|
|
|
|
modesty_on_drive=0:min_percent=65:max_percent=95
|
|
|
|
.br
|
|
|
|
Percentages are permissible in the range of 25 to 100.
|
|
|
|
.TP
|
2006-12-13 19:30:31 +00:00
|
|
|
.BI \--no_abort_handler
|
|
|
|
On signals exit even if the drive is in busy state. This is not a very good
|
|
|
|
idea. You might end up with a stuck drive that refuses to hand out the media.
|
|
|
|
.TP
|
|
|
|
.BI \--no_blank_appendable
|
2007-02-06 19:19:54 +00:00
|
|
|
Refuse to blank appendable CD-RW or DVD-RW. This is a feature that was once
|
|
|
|
builtin with libburn. No information available for what use case it was needed.
|
2006-12-13 19:30:31 +00:00
|
|
|
.TP
|
|
|
|
.BI \--no_convert_fs_adr
|
|
|
|
Do only literal translations of dev=. This prevents cdrskin from test-opening
|
|
|
|
device files in order to find one that matches the given dev= specifier.
|
|
|
|
.br
|
|
|
|
Partly Linux specific:
|
|
|
|
Such opening is needed for Bus,Target,Lun addresses unless option
|
|
|
|
--old_pseudo_scsi_adr is given. It is also needed to resolve device file
|
|
|
|
addresses which are not listed with cdrskin --devices but nevertheless point
|
2007-04-22 13:22:43 +00:00
|
|
|
to a usable drive. (Like /dev/sg0 using the same SCSI address as /dev/sr0.)
|
2006-12-13 19:30:31 +00:00
|
|
|
.TP
|
|
|
|
.BI \--old_pseudo_scsi_adr
|
|
|
|
Linux specific:
|
|
|
|
Use and report literal Bus,Target,Lun addresses rather than real SCSI and
|
|
|
|
pseudo ATA addresses. This method is outdated and was never compatible with
|
|
|
|
original cdrecord.
|
2009-09-11 12:08:59 +00:00
|
|
|
.BI --xa1-ignore
|
|
|
|
Silently interpret option -xa1 as -data. This may be necessary if a frontent
|
|
|
|
does not prepare -xa1 block headers but insists in using option -xa1.
|
2006-12-13 19:30:31 +00:00
|
|
|
.SH EXAMPLES
|
|
|
|
.SS
|
2007-02-01 19:45:47 +00:00
|
|
|
.B Get an overview of drives and their addresses:
|
2006-12-13 19:30:31 +00:00
|
|
|
.br
|
|
|
|
cdrskin -scanbus
|
|
|
|
.br
|
|
|
|
cdrskin dev=ATA -scanbus
|
|
|
|
.br
|
2011-07-28 19:16:06 +00:00
|
|
|
cdrskin --device_links
|
2006-12-13 19:30:31 +00:00
|
|
|
.SS
|
|
|
|
.B Get info about a particular drive or loaded media:
|
|
|
|
.br
|
|
|
|
cdrskin dev=0,1,0 -checkdrive
|
|
|
|
.br
|
2007-02-01 19:45:47 +00:00
|
|
|
cdrskin dev=ATA:1,0,0 -v -atip
|
2006-12-13 19:30:31 +00:00
|
|
|
.br
|
2010-01-21 10:38:56 +00:00
|
|
|
cdrskin dev=/dev/hdc -minfo
|
2006-12-13 19:30:31 +00:00
|
|
|
.SS
|
2008-05-09 19:42:49 +00:00
|
|
|
.B Prepare CD-RW or DVD-RW for re-use, DVD-RAM or BD-RE for first use:
|
2006-12-13 19:30:31 +00:00
|
|
|
.br
|
2008-05-09 19:42:49 +00:00
|
|
|
cdrskin -v dev=/dev/sg1 blank=as_needed -eject
|
2006-12-13 19:30:31 +00:00
|
|
|
.SS
|
2007-01-31 12:59:51 +00:00
|
|
|
.B Format DVD-RW to avoid need for blanking before re-use:
|
2007-01-01 17:19:41 +00:00
|
|
|
.br
|
|
|
|
cdrskin -v dev=/dev/sr0 blank=format_overwrite
|
|
|
|
.SS
|
2007-02-01 19:45:47 +00:00
|
|
|
.B De-format DVD-RW to make it capable of multi-session again:
|
|
|
|
.br
|
|
|
|
cdrskin -v dev=/dev/sr0 blank=deformat_sequential
|
|
|
|
.SS
|
2007-02-06 19:19:54 +00:00
|
|
|
.B Write ISO-9660 filesystem image as only one to blank or formatted media:
|
2006-12-13 19:30:31 +00:00
|
|
|
.br
|
|
|
|
cdrskin -v dev=/dev/hdc speed=12 fs=8m \\
|
|
|
|
.br
|
2008-05-10 13:40:55 +00:00
|
|
|
blank=as_needed -eject padsize=300k my_image.iso
|
2006-12-13 19:30:31 +00:00
|
|
|
.SS
|
2010-08-21 09:56:16 +00:00
|
|
|
.B Write compressed afio archive on-the-fly (not possible with minimally blanked DVD-RW or DVD-R DL):
|
2006-12-13 19:30:31 +00:00
|
|
|
.br
|
|
|
|
find . | afio -oZ - | \\
|
|
|
|
.br
|
2007-01-30 22:01:10 +00:00
|
|
|
cdrskin -v dev=0,1,0 fs=32m speed=8 \\
|
2006-12-13 19:30:31 +00:00
|
|
|
.br
|
2008-05-10 13:40:55 +00:00
|
|
|
blank=as_needed padsize=300k -
|
2006-12-13 19:30:31 +00:00
|
|
|
.SS
|
2009-05-07 18:12:32 +00:00
|
|
|
.B Write multi-session to the same CD, DVD-R[W], DVD+R[/DL], or BD-R:
|
2006-12-13 19:30:31 +00:00
|
|
|
.br
|
2009-05-07 18:12:32 +00:00
|
|
|
cdrskin dev=/dev/sr0 -v padsize=300k -multi 1.iso
|
2006-12-13 19:30:31 +00:00
|
|
|
.br
|
2009-05-07 18:12:32 +00:00
|
|
|
cdrskin dev=/dev/sr0 -v padsize=300k -multi 2.iso
|
2006-12-13 19:30:31 +00:00
|
|
|
.br
|
2009-05-07 18:12:32 +00:00
|
|
|
cdrskin dev=/dev/sr0 -v padsize=300k -multi 3.iso
|
2006-12-13 19:30:31 +00:00
|
|
|
.br
|
2009-05-07 18:12:32 +00:00
|
|
|
cdrskin dev=/dev/sr0 -v padsize=300k 4.iso
|
2006-12-13 19:30:31 +00:00
|
|
|
.SS
|
2007-03-07 15:13:25 +00:00
|
|
|
.B Get multi-session info for option -C of program mkisofs:
|
2006-12-13 19:30:31 +00:00
|
|
|
.br
|
2007-02-18 09:48:00 +00:00
|
|
|
c_values=$(cdrskin dev=/dev/hdc -msinfo 2>/dev/null)
|
2006-12-13 19:30:31 +00:00
|
|
|
.br
|
|
|
|
mkisofs ... -C "$c_values" ...
|
|
|
|
.SS
|
2008-05-17 12:05:36 +00:00
|
|
|
.B Inquire free space on media for a -multi run:
|
2007-02-18 09:48:00 +00:00
|
|
|
.br
|
2008-05-17 12:05:36 +00:00
|
|
|
x=$(cdrskin dev=/dev/sr0 -multi \\
|
2007-02-18 09:48:00 +00:00
|
|
|
.br
|
|
|
|
--tell_media_space 2>/dev/null)
|
|
|
|
.br
|
|
|
|
echo "Available: $x blocks of 2048 data bytes"
|
|
|
|
.SS
|
2006-12-21 21:46:58 +00:00
|
|
|
.B Write audio tracks to CD:
|
2006-12-13 19:30:31 +00:00
|
|
|
.br
|
2007-01-30 22:01:10 +00:00
|
|
|
cdrskin -v dev=ATA:1,0,0 speed=48 -sao \\
|
2006-12-13 19:30:31 +00:00
|
|
|
.br
|
|
|
|
track1.wav track2.au -audio -swab track3.raw
|
|
|
|
.br
|
|
|
|
.SH FILES
|
2007-09-27 08:34:26 +00:00
|
|
|
.SS
|
|
|
|
Startup files:
|
|
|
|
.br
|
2006-12-13 19:30:31 +00:00
|
|
|
If not --no_rc is given as the first argument then cdrskin attempts on
|
|
|
|
startup to read the arguments from the following files:
|
|
|
|
.PP
|
|
|
|
.br
|
|
|
|
.B /etc/default/cdrskin
|
|
|
|
.br
|
|
|
|
.B /etc/opt/cdrskin/rc
|
|
|
|
.br
|
|
|
|
.B /etc/cdrskin/cdrskin.conf
|
|
|
|
.br
|
|
|
|
.B $HOME/.cdrskinrc
|
|
|
|
.br
|
|
|
|
.PP
|
|
|
|
The files are read in the sequence given above, but none of them is
|
|
|
|
required for cdrskin to function properly. Each readable line is treated
|
|
|
|
as one single argument. No extra blanks.
|
|
|
|
A first character '#' marks a comment, empty lines are ignored.
|
2007-09-27 08:34:26 +00:00
|
|
|
.br
|
|
|
|
Example content of a startup file:
|
2006-12-13 19:30:31 +00:00
|
|
|
.br
|
|
|
|
# This is the default device
|
|
|
|
.br
|
|
|
|
dev=0,1,0
|
|
|
|
.br
|
|
|
|
# Some more options
|
|
|
|
.br
|
|
|
|
fifo_start_at=0
|
|
|
|
.br
|
|
|
|
fs=16m
|
|
|
|
.br
|
2007-09-27 08:34:26 +00:00
|
|
|
.SS
|
|
|
|
Disabling superuser safety precautions:
|
|
|
|
The superuser is normally banned from using any other emulated drive but
|
|
|
|
/dev/null. This ban can be lifted by the existence of file
|
|
|
|
.PP
|
|
|
|
.B /root/cdrskin_permissions/allow_emulated_drives
|
|
|
|
.PP
|
|
|
|
where the directory must be owned by the superuser and must not offer
|
|
|
|
w-permissions for group or others.
|
|
|
|
.br
|
|
|
|
Warning: Superusers must take care not to spoil their hard disk via its raw
|
|
|
|
block device (like stdio:/dev/hda or stdio:/dev/sd0).
|
|
|
|
|
2006-12-13 19:30:31 +00:00
|
|
|
.SH SEE ALSO
|
|
|
|
.TP
|
2007-03-28 18:21:46 +00:00
|
|
|
Formatting data track sources for cdrskin:
|
2006-12-13 19:30:31 +00:00
|
|
|
.br
|
|
|
|
.BR mkisofs (8),
|
|
|
|
.BR genisoimage (8),
|
2008-04-12 16:46:05 +00:00
|
|
|
.BR xorriso (1),
|
2006-12-13 19:30:31 +00:00
|
|
|
.BR afio (1),
|
|
|
|
.BR star (1)
|
|
|
|
.br
|
|
|
|
.TP
|
2008-04-12 16:46:05 +00:00
|
|
|
Other CD/DVD/BD burn programs:
|
2006-12-13 19:30:31 +00:00
|
|
|
.br
|
|
|
|
.BR cdrecord (1),
|
2008-04-12 16:46:05 +00:00
|
|
|
.BR wodim (1),
|
|
|
|
.BR xorriso (1)
|
2006-12-13 19:30:31 +00:00
|
|
|
.br
|
|
|
|
.TP
|
2008-04-12 16:46:05 +00:00
|
|
|
For DVD/BD burning (also tutor of libburn's DVD/BD capabilities):
|
2006-12-13 19:30:31 +00:00
|
|
|
.br
|
|
|
|
.BR growisofs (1)
|
|
|
|
.br
|
|
|
|
.SH AUTHOR
|
|
|
|
cdrskin was written by Thomas Schmitt <scdbackup@gmx.net>.
|
|
|
|
.PP
|
2008-04-12 16:46:05 +00:00
|
|
|
This manual page was started by George Danchev <danchev@spnet.net> and
|
|
|
|
is now maintained by Thomas Schmitt.
|
2006-12-13 19:30:31 +00:00
|
|
|
|