Usage: xorriso -as cdrecord [options|source_addresses] Note: This is not cdrecord. See xorriso -help, xorriso -version, man xorrecord Options: -version print version information and exit emulation --devices print list of available MMC drives and exit emulation dev=target pseudo-SCSI target to use as CD-Recorder drive_scsi_dev_family=sr|scd|sg select Linux device type --drive_not_exclusive do not try to prevent use of busy drive -v increment verbose level by one -V increment SCSI command transport verbose level by one -checkdrive check if a driver for the drive is present -inq do an inquiry for the drive speed=# set speed of drive blank=type blank a CD-RW disc (see blank=help) fs=# Set fifo size to # (0 to disable, default is 4 MB) -eject eject the disk after doing the work -dummy do everything with laser turned off -msinfo retrieve multi-session info for mkisofs >= 1.10 -toc retrieve and print TOC/PMA data -atip retrieve media state, print "Is *erasable" -multi generate a TOC that allows multi session --multi_if_possible apply -multi if the medium supports it -waiti wait until input is available before opening SCSI -tao Write disk in TAO mode. -dao Write disk in SAO mode. -sao Write disk in SAO mode. tsize=# announces exact size of source data padsize=# Amount of padding -data Subsequent tracks are CD-ROM data mode 1 (default) -isosize Use iso9660 file system size for next data track -pad padsize=30k -nopad Do not pad --perform_opc perform Optimum Power Calibration --perform_opc_growisofs perform OPC only on DVD-R[W] minbuf= Keep drive buffer hungry -immed Equivalent to minbuf=75 modesty_on_drive= Like minbuf=, but with more parameters --grow_overwriteable_iso emulate multi-session on DVD+RW, BD-RE write_start_address=# write to byte address on DVD+RW, BD-RE stream_recording=on|number try to get full speed on DVD-RAM, BD use_immed_bit=on|off|default control use of Immed bit dvd_obs=default|32k|64k bytes per DVD/BD write operation --obs_pad pad DVD DAO and stdio to full 32k or 64k --bdr_obs_exempt possibly exempt BD-R from padding to full 64k stdio_sync=on|off|end|number whether to fsync output to "stdio:" --no_rc Do not execute xorriso startup files -help print this text to stderr and exit emulation Actually this is the integrated ISO RockRidge filesystem manipulator xorriso lending its libburn capabilities to a very limited cdrecord emulation. Only a single data track can be burnt to blank, appendable or overwritable media. A much more elaborate cdrecord emulator is cdrskin from the libburn package. Report any bugs to bug-xorriso@gnu.org or in private to scdbackup@gmx.net .
Options (30)
| Option | Description | Source |
|---|---|---|
-version | Print to standard output a line beginning by "Cdrecord 2.01-Emulation Copyright" and further lines which report the version of xorriso and its supporting libraries. | help + man |
--devices | Print the list of accessible CD, DVD, or BD drives to standard output. | help + man |
--drive_not_exclusive | This option disables the use of device file locking mechanisms when acquiring the drive. | help + man |
-v | Increase program verbosity by one level. | help + man |
-V | Log SCSI commands and drive replies to standard error. | help + man |
-checkdrive | Print unconditionally that the drive supports burnfree, SAO, and TAO. | help + man |
-inq | Print to standard output: vendor, model name, and firmware revision of the drive. | help + man |
-eject | Eject the drive tray after alll other work is done. | help + man |
-dummy | Try to perform the drive operations without actually affecting the inserted media. | help + man |
-msinfo | Print the argument text for option -C of programs mkisofs, genisoimage, or xorrisofs. | help + man |
-toc | Print a table of content of the medium in the drive. | help + man |
-atip | Print the output of -checkdrive, the most capable profile of the medium in the drive, the list of profiles which are supported by the drive, whether it is erasable (i.e. can be blanked), the media… | help + man |
-multi | This option keeps CD, unformatted DVD-R[W], DVD+R, or BD-R appendable after the current session has been written. | help + man |
--multi_if_possible | Apply option -multi if the medium is suitable. | help + man |
-waiti | Wait until input data is available at stdin or EOF occurs at stdin. | help + man |
-tao | Explicitly demand that write type TAO shall be used for CD, or Incremental for DVD-R. | help + man |
-dao | Write disk in SAO mode. | help + man |
-sao | Explicitly demand that write type SAO shall be used for CD, or DAO for DVD-R. | help + man |
-data | Explicitly announce that the track source shall be recorded as data track, and not as audio track. | help + man |
-isosize | Try to obtain the track size from the content of the track source. | help + man |
-pad | The same as padsize=15s. | help + man |
-nopad | The same as padsize=0. | help + man |
--perform_opc | Order the drive to perform Optimum Power Calibration (OPC) before writing begins. | help + man |
--perform_opc_growisofs | Order the drive to perform Optimum Power Calibration before writing begins, but only with DVD-R and unformatted DVD-RW and only if the drive offers no OPC table entries. | help + man |
-immed | Equivalent to: modesty_on_drive=75 In cdrecord, this also controls use of the Immed bit. | help + man |
--grow_overwriteable_iso | Enable emulation of multi-session writing on overwritable media which contain an ISO 9660 filesystem. | help + man |
--obs_pad | Pad the data of the last write operation of a DVD-R[W] DAO session, or BD-R session, or stdio: pseudo-drive session up to the full size of an output chunk. | help + man |
--bdr_obs_exempt | Exempt BD-R media from automatic unconditional transaction end padding, provided that this padding is not requested by --obs_pad and that no stream_recording is requested. | help + man |
--no_rc | Only if used as first command line argument this option prevents reading and interpretation of startup files. | help + man |
-help | Print a sparse list of program options to standard error and declare not to be cdrecord. | help + man |
Examples (6) from the manual page, untested
xorrecord --devices
## Get an overview of drives and their addresses:xorrecord dev=/dev/sr0 -atip -toc --grow_overwriteable_iso
## Get info about a particular drive and loaded media:xorrecord -v dev=/dev/sr0 blank=as_needed -eject
## Prepare CD-RW or DVD-RW for re-use:xorrecord -v dev=/dev/sr0 blank=format_overwrite -eject This command may also be used to format BD-R media before first use, in order to enable handling of write errors. Several hundred MB of spare blocks will be reserved and write runs on such media will perform with less than half nominal speed.
## Format DVD-RW to avoid need for blanking before re-use:xorrecord -v dev=/dev/sr0 blank=deformat
## De-format DVD-RW to make it capable of multi-session again:xorrecord -v dev=/dev/sr0 speed=12 fs=8m blank=as_needed -eject padsize=300k my_image.iso
## Write a single ISO 9660 filesystem image: