OS Manuals

/usr/bin/cdrecord

Suite of programs for CD/DVD recording, ISO image creation, and audio CD extraction

From cdrkit 1.1.11-r9 (os), captured 2026-11-05 by running cdrecord --help (exit 0). permalink

Usage: wodim [options] track1...trackn
Options:
	-version	print version information and exit
	dev=target	SCSI target to use as CD/DVD-Recorder
	gracetime=#	set the grace time before starting to write to #.
	timeout=#	set the default SCSI command timeout to #.
	debug=#,-d	Set to # or increment misc debug level
	kdebug=#,kd=#	do Kernel debugging
	-verbose,-v	increment general verbose level by one
	-Verbose,-V	increment SCSI command transport verbose level by one
	-silent,-s	do not print status of failed SCSI commands
	driver=name	user supplied driver name, use with extreme care
	driveropts=opt	a comma separated list of driver specific options
	-setdropts	set driver specific options and exit
	-checkdrive	check if a driver for the drive is present
	-prcap		print drive capabilities for MMC compliant drives
	-inq		do an inquiry for the drive and exit
	-scanbus	scan the SCSI and IDE buses and exit
	-reset		reset the SCSI bus with the cdrecorder (if possible)
	-abort		send an abort sequence to the drive (may help if hung)
	-overburn	allow to write more than the official size of a medium
	-ignsize	ignore the known size of a medium (may cause problems)
	-useinfo	use *.inf files to overwrite audio options.
	speed=#		set speed of drive
	blank=type	blank a CD-RW disc (see blank=help)
	-format		format a CD-RW/DVD-RW/DVD+RW disc
	formattype=#	select the format method for DVD+RW disc
	fs=#		Set fifo size to # (0 to disable, default is 4 MB)
	ts=#		set maximum transfer size for a single SCSI command
	-load		load the disk and exit (works only with tray loader)
	-lock		load and lock the disk and exit (works only with tray loader)
	-eject		eject the disk after doing the work
	-dummy		do everything with laser turned off
	-msinfo		retrieve multi-session info for genisoimage
	-msifile=path	run -msinfo and copy output to file
	-toc		retrieve and print TOC/PMA data
	-atip		retrieve and print ATIP data
	-multi		generate a TOC that allows multi session
			In this case default track type is CD-ROM XA mode 2 form 1 - 2048 bytes
	-fix		fixate a corrupt or unfixated disk (generate a TOC)
	-nofix		do not fixate disk after writing tracks
	-waiti		wait until input is available before opening SCSI
	-immed		Try to use the SCSI IMMED flag with certain long lasting commands
	-force		force to continue on some errors to allow blanking bad disks
	-tao		Write disk in TAO mode.
	-dao		Write disk in SAO mode.
	-sao		Write disk in SAO mode.
	-raw		Write disk in RAW mode.
	-raw96r		Write disk in RAW/RAW96R mode.
	-raw96p		Write disk in RAW/RAW96P mode.
	-raw16		Write disk in RAW/RAW16 mode.
	-clone		Write disk in clone write mode.
	tsize=#		Length of valid data in next track
	padsize=#	Amount of padding for next track
	pregap=#	Amount of pre-gap sectors before next track
	defpregap=#	Amount of pre-gap sectors for all but track #1
	mcn=text	Set the media catalog number for this CD to 'text'
	isrc=text	Set the ISRC number for the next track to 'text'
	index=list	Set the index list for the next track to 'list'
	-text		Write CD-Text from information from *.inf or *.cue files
	textfile=name	Set the file with CD-Text data to 'name'
	cuefile=name	Set the file with CDRWIN CUE data to 'name'
	-audio		Subsequent tracks are CD-DA audio tracks
	-data		Subsequent tracks are CD-ROM data mode 1 - 2048 bytes (default)
	-mode2		Subsequent tracks are CD-ROM data mode 2 - 2336 bytes
	-xa		Subsequent tracks are CD-ROM XA mode 2 form 1 - 2048 bytes
	-xa1		Subsequent tracks are CD-ROM XA mode 2 form 1 - 2056 bytes
	-xa2		Subsequent tracks are CD-ROM XA mode 2 form 2 - 2324 bytes
	-xamix		Subsequent tracks are CD-ROM XA mode 2 form 1/2 - 2332 bytes
	-cdi		Subsequent tracks are CDI tracks
	-isosize	Use iso9660 file system size for next data track
	-preemp		Audio tracks are mastered with 50/15 microseconds preemphasis
	-nopreemp	Audio tracks are mastered with no preemphasis (default)
	-copy		Audio tracks have unlimited copy permission
	-nocopy		Audio tracks may only be copied once for personal use (default)
	-scms		Audio tracks will not have any copy permission at all
	-pad		Pad data tracks with 15 zeroed sectors
			Pad audio tracks to a multiple of 2352 bytes
	-nopad		Do not pad data tracks (default)
	-shorttrack	Subsequent tracks may be non Red Book < 4 seconds if in SAO or RAW mode
	-noshorttrack	Subsequent tracks must be >= 4 seconds
	-swab		Audio data source is byte-swapped (little-endian/Intel)
The type of the first track is used for the toc type.
Currently only form 1 tracks are supported.
Options (60)
OptionDescriptionSource
-versionPrint version information and exit.help + man
-verbose, -vIncrement the level of general verbosity by one.help + man
-Verbose, -VIncrement the verbose level in respect of SCSI command transport by one.help + man
-silent, -sDo not print out a status report for failed SCSI commands.help + man
-setdroptsSet the driveropts specified by driveropts=option list, the speed of the drive and the dummy flag and exit.help + man
-checkdriveChecks if a driver for the current drive is present and exit.help + man
-prcapPrint the drive capabilities for SCSI-3/mmc compliant drives as obtained from mode page 0x2A.help + man
-inqDo an inquiry for the drive, print the inquiry info and exit.help + man
-scanbusScan all SCSI devices on all SCSI busses and print the inquiry strings.help + man
-resetTry to reset the SCSI bus where the CD recorder is located.help + man
-abortsend an abort sequence to the drive (may help if hung)help + man
-overburnAllow wodim to write more than the official size of a medium.help + man
-ignsizeignore the known size of a medium (may cause problems)help + man
-useinfouse *.inf files to overwrite audio options.help + man
-formatFormat a CD-RW/DVD-RW/DVD+RW disc.help + man
-loadload the disk and exit (works only with tray loader)help + man
-lockload and lock the disk and exit (works only with tray loader)help + man
-ejecteject the disk after doing the workhelp + man
-dummyThe CD/DVD-Recorder will go through all steps of the recording process, but the laser is turned off during this procedure.help + man
-msinfoRetrieve multi session info in a form suitable for genisoimage and print it to standard output.help + man
-msifile pathrun -msinfo and copy output to filehelp
-tocRetrieve and print out the table of content or PMA of a CD.help + man
-atipRetrieve and print out the ATIP (absolute Time in Pre-groove) info of a CD/DVD recordable or CD/DVD re-writable media.help + man
-multigenerate a TOC that allows multi session In this case default track type is CD-ROM XA mode 2 form 1 - 2048 byteshelp + man
-fixThe disk will only be fixated (i.e. a TOC for a CD-Reader will be written).help + man
-nofixDo not fixate the disk after writing the tracks.help + man
-waitiWait for input to become available on standard input before trying to open the SCSI driver.help + man
-immedTell wodim to set the SCSI IMMED flag in certain commands (load/eject/blank/close_track/close_session).help + man
-forceforce to continue on some errors to allow blanking bad diskshelp + man
-taoSet TAO (Track At Once) writing mode.help + man
-daoWrite disk in SAO mode.help + man
-saoSet SAO (Session At Once) mode which is usually called Disk At Once mode.help + man
-rawWrite disk in RAW mode.help + man
-raw96rSelect Set RAW writing mode with 2352 byte sectors plus 96 bytes of raw P-W subchannel data resulting in a sector size of 2448 bytes.help + man
-raw96pSelect Set RAW writing mode with 2352 byte sectors plus 96 bytes of packed P-W subchannel data resulting in a sector size of 2448 bytes.help + man
-raw16Select Set RAW writing mode with 2352 byte sectors plus 16 bytes of P-Q subchannel data resulting in a sector size of 2368 bytes.help + man
-cloneTells wodim to handle images created by readom -clone.help + man
-textWrite CD-Text information based on information taken from a file that contains ascii information for the text strings.help + man
-audioIf this flag is present, all subsequent tracks are written in CD-DA (similar to Red Book) audio format.help + man
-dataIf this flag is present, all subsequent tracks are written in CD-ROM mode 1 (Yellow Book) format.help + man
-mode2If this flag is present, all subsequent tracks are written in CD-ROM mode 2 format.help + man
-xaIf this flag is present, all subsequent tracks are written in CD-ROM XA mode 2 form 1 format.help + man
-xa1If this flag is present, all subsequent tracks are written in CD-ROM XA mode 2 form 1 format.help + man
-xa2If this flag is present, all subsequent tracks are written in CD-ROM XA mode 2 form 2 format.help + man
-xamixIf this flag is present, all subsequent tracks are written in a way that allows a mix of CD-ROM XA mode 2 form 1/2 format.help + man
-cdiIf this flag is present, the TOC type for the disk is set to CDI.help + man
-isosizeUse the ISO-9660 file system size as the size of the next track.help + man
-preempIf this flag is present, all TOC entries for subsequent audio tracks will indicate that the audio data has been sampled with 50/15 microsec pre-emphasis.help + man
-nopreempIf this flag is present, all TOC entries for subsequent audio tracks will indicate that the audio data has been mastered with linear data - this is the default.help + man
-copyIf this flag is present, all TOC entries for subsequent audio tracks of the resulting CD will indicate that the audio data has permission to be copied without limit.help + man
-nocopyIf this flag is present, all TOC entries for subsequent audio tracks of the resulting CD will indicate that the audio data has permission to be copied only once for personal use - this is the default.help + man
-scmsIf this flag is present, all TOC entries for subsequent audio tracks of the resulting CD will indicate that the audio data has no permission to be copied anymore.help + man
-padIf the track is a data track, 15 sectors of zeroed data will be added to the end of this and each subsequent data track.help + man
-nopadDo not pad the following tracks - the default.help + man
-shorttrackAllow all subsequent tracks to violate the Red Book track length standard which requires a minimum track length of 4 seconds.help + man
-noshorttrackRe-enforce the Red Book track length standard.help + man
-swabIf this flag is present, audio data is assumed to be in byte-swapped (little-endian) order.help + man
--devicesLook for useable devices using the system specific functions, eg. (in the manual page but not in --help)man
-packetSet Packet writing mode. (in the manual page but not in --help)man
-nocloseDo not close the current track, useful only when in packet writing mode. (in the manual page but not in --help)man

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.