CDRWTOOL(1) | General Commands Manual | CDRWTOOL(1) |
cdrwtool - perform various actions on a CD-R, CD-RW, and DVD-R
cdrwtool -d device -i | -g
cdrwtool -d device -s [ write-parameters ]
cdrwtool -d device -q [ write-parameters ]
cdrwtool -d device -m offset [ write-parameters ]
cdwrtool -d device -u blocks [ write-parameters ]
cdrwtool -d device -b b_mode [ write-parameters ]
cdrwtool -d device -c blocks [ write-parameters ]
cdwrtool -d device -f filename [ write-parameters ]
cdwrtool -d device -r track [ write-parameters ]
cdrwtool -h
The cdwrtool command can perform certain actions on a CD-R, CD-RW, or DVD-R device. Mainly these are blanking the media, formatting it for use with the packet-cd device, and applying an UDF filesystem.
The most common usage is probably the `quick setup' option:
which will blank the disc, format it as one large track, and write the UDF filesystem structures.
Other options get and set various parameters of how the device is set up, and provide for different offsets, modes and settings from the defaults.
The usefulness of most of the options is not explained.
Main directives:
Write parameters:
Many modern drives refuse on the preparations to format new, blanked, or appendable CD-RW media. This causes a message like
The remedy is to use a CD-capable burn program for writing a session and closing the medium. For example by using any of "cdrecord", "wodim", "cdrskin", or "xorriso -as cdrecord" as content of variable prog in:
prog="xorriso -as cdrecord" drive="/dev/sr0" dd if=/dev/zero bs=1M count=10 | $prog -v -eject dev="$drive" -
Jens Axboe <axboe@suse.de> Ben Fennema Some additions by Richard Atterer <atterer@debian.org> BUGS note about closing medium by Thomas Schmitt <scdbackup@gmx.net>
cdrwtool is part of the udftools package and is available from https://github.com/pali/udftools/.
udftools | Commands |