Record audio or data Compact Discs from a command line.
The cdrecord command is used for burning optical discs in Linux systems, supporting both CD and DVD formats. Linux systems typically come with the cdrecord software installed.
cdrecord [options] [parameters]
-v: Show the detailed process of burning the disc.
-eject: Eject the disc after burning is complete.
speed=<burning_speed>: Specify the speed for burning the disc.
dev=<device_id>: Specify the device ID of the burner found using the "-scanbus" parameter.
-scanbus: Scan for available burners in the system.
ISO file: Specify the ISO image file to be used for burning the disc.
View all CD-R(w) devices in the system:
cdrecord -scanbus
scsibus0:
0,0,0 0) *
0,1,0 1) *
0,2,0 2) *
0,3,0 3) 'HP ' 'CD-Writer+ 9200 ' '1.0c' Removable CD-ROM
Burn a disc using an ISO file:
cdrecord -v -eject speed=4 dev=0,3,0 backup.iso
Parameter explanation:
Blank a rewritable disc:
cdrecord --dev=0,3,0 --blank=fast