TrumanWong

cdrecord

Disc burning function command under Linux system

Supplementary instructions

cdrecord command is used to burn discs under Linux systems. It supports cd and DVD formats. Linux generally comes with cdrecord software.

grammar

cdrecord(options)(parameters)

Options

-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.

Parameters

ISO file: Specify the ISO image file used to burn the disc.

Example

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

  • -v: Display the detailed process of burning a disc
  • -eject: Automatically eject the disc after burning
  • speed=4 dev=0,3,0: Four-speed burning to HP CD-writer device.

Erase optical drive:

cdrecord --dev=0,3,0 --blank=fast