Write cdrom from CLI

Command line CDROM writing Identify the device to use:-

[root@thinkcentre1 slackware]# cdrecord --devices
wodim: Overview of accessible drives (1 found) :
-------------------------------------------------------------------------
 0  dev='/dev/scd0'     rwrw-- : 'HL-DT-ST' 'DVD-RAM GSA-H60L'
-------------------------------------------------------------------------

Start the actual record:-

[root@thinkcentre1 slackware]# cdrecord -v -dev=/dev/scd0 speed=4 slackware-13.0-install-dvd.iso
wodim: No write mode specified.
wodim: Asuming -tao mode.
wodim: Future versions of wodim may have different drive dependent defaults.
TOC Type: 1 = CD-ROM
scsidev: '/dev/scd0'
devname: '/dev/scd0'
scsibus: -2 target: -2 lun: -2
Linux sg driver version: 3.5.27
Wodim version: 1.1.6
SCSI buffer size: 64512
Device type    : Removable CD-ROM
Version        : 5
Response Format: 2
Capabilities   :
Vendor_info    : 'HL-DT-ST'
Identification : 'DVD-RAM GSA-H60L'
Revision       : 'DX01'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Current: 0x0011 (DVD-R sequential recording)
Profile: 0x0012 (DVD-RAM)
Profile: 0x0011 (DVD-R sequential recording) (current)
Profile: 0x0015 (DVD-R/DL sequential recording)
Profile: 0x0016 (DVD-R/DL layer jump recording)
Profile: 0x0014 (DVD-RW sequential recording)
Profile: 0x0013 (DVD-RW restricted overwrite)
Profile: 0x001A (DVD+RW)
Profile: 0x001B (DVD+R)
Profile: 0x002B (DVD+R/DL)
Profile: 0x0010 (DVD-ROM)
Profile: 0x0009 (CD-R)
Profile: 0x000A (CD-RW)
Profile: 0x0008 (CD-ROM)
Profile: 0x0002 (Removable disk)
Using generic SCSI-3/mmc DVD-R(W) driver (mmc_mdvd).
Driver flags   : SWABAUDIO BURNFREE
Supported modes: PACKET SAO
Drive buf size : 1114112 = 1088 KB
Beginning DMA speed test. Set CDR_NODMATEST environment variable if device
communication breaks or freezes immediately after that.
Drive DMA Speed: 18484 kB/s 105x CD 13x DVD
FIFO size      : 4194304 = 4096 KB
Track 01: data  3738 MB
Total size:     4293 MB (425:22.22) = 1914167 sectors
Lout start:     4293 MB (425:24/17) = 1914167 sectors
Current Secsize: 2048
HINT: use dvd+rw-mediainfo from dvd+rw-tools for information extraction.
Blocks total: 2298496 Blocks current: 2298496 Blocks remaining: 384329
Speed set to 5540 KB/s
Starting to write CD/DVD at speed   4.0 in real unknown mode for single session.
Last chance to quit, starting real write in    0 seconds. Operation starts.
Waiting for reader process to fill input buffer ... input buffer ready.
Performing OPC...
Starting new track at sector: 0
Track 01: 3738 of 3738 MB written (fifo 100%) [buf  98%]   4.1x.
Track 01: Total bytes read/written: 3920214016/3920214016 (1914167 sectors).
Writing  time:  733.080s
Average write speed   3.9x.
Min drive buffer fill was 86%
Fixating...
Fixating time:   34.632s
wodim: fifo had 61748 puts and 61748 gets.
wodim: fifo was 0 times empty and 32267 times full, min fill was 67%.
 
linux/write-cdrom-cli.txt · Last modified: 21/05/2021 10:23 by andrew