Disc burning function command under Linux system
cdrecord command is used to burn discs under Linux systems. It supports cd and DVD formats. Linux generally comes with cdrecord software.
cdrecord(options)(parameters)
-v: Display the detailed process of burning a disc;
-eject: Eject the disc after burning is completed;
speed=<burning speed>: Specify the disc burning speed;
dev=<recorder device number>: Specifies the device number of the recorder scanned using the "-scanbus" parameter;
-scanbus: Scan the system for available recorders.
ISO file: Specify the ISO image file used to burn the disc.
View all CD-R(w) devices on 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 from an iso file:
cdrecord -v -eject speed=4 dev=0,3,0 backup.iso
Parameter explanation
Erase optical drive:
cdrecord --dev=0,3,0 --blank=fast