track: 1 lba: 0 ( 0) 00:02:00 adr: 1 control: 4 mode: 2 track: 2 lba: 11702 ( 46808) 02:38:02 adr: 1 control: 4 mode: 2 track: 3 lba: 20054 ( 80216) 04:29:29 adr: 1 control: 4 mode: 2 track:lout lba: 20356 ( 81424) 04:33:31 adr: 1 control: 4 mode: -1
Track 01: data 0 MB padsize: 504 KB Total size: 0 MB (00:04.02) = 302 sectors Lout start: 1 MB (00:06/02) = 302 sectors
$ cdrecord -msinfo dev=/dev/sg0 MULTI_INFO=0,11702
Track 02: Total bytes read/written: 2969600/2969600 (1450 sectors).
— 11702 + 1450 = 13152
Getting disc info
$ cdrecord -msinfo dev=/dev/sg0 MULTI_INFO=0,11702
+ mkisofs -R -T -f -o /tmp/backup.img /tmp/backupshadow Total translation table size: 46 Total rockridge attributes bytes: 326 Total directory bytes: 0 Path table size(bytes): 10 Max brk space used 4544 48 extents written (0 Mb) + cdrecord dev=/dev/sg0 -multi -eject -v speed=4 /tmp/backup.img Cdrecord 1.10 (i686-pc-linux-gnu) Copyright (C) 1995-2001 Jorg Schilling TOC Type: 3 = CD-ROM XA mode 2 cdrecord: Operation not permitted. WARNING: Cannot do mlockall(2). cdrecord: WARNING: This causes a high risk for buffer underruns. cdrecord: Operation not permitted. WARNING: Cannot set RR-scheduler cdrecord: Permission denied. WARNING: Cannot set priority using setpriority(). cdrecord: WARNING: This causes a high risk for buffer underruns. scsidev: '/dev/sg0' devname: '/dev/sg0' scsibus: -2 target: -2 lun: -2 Linux sg driver version: 3.1.24 Using libscg version 'schily-0.5' atapi: 1 Device type : Removable CD-ROM Version : 0 Response Format: 2 Capabilities : Vendor_info : 'SONY ' Identifikation : 'CD-RW CRX175A1 ' Revision : '5YS2' Device seems to be: Generic mmc CD-RW. Using generic SCSI-3/mmc CD-R driver (mmc_cdr). Driver flags : SWABAUDIO Drive buf size : 1966272 = 1920 KB FIFO size : 4194304 = 4096 KB Track 01: data 0 MB padsize: 504 KB Total size: 0 MB (00:04.02) = 302 sectors Lout start: 1 MB (00:06/02) = 302 sectors Current Secsize: 2048 ATIP info from disk: Indicated writing power: 5 Reference speed: 2 Is not unrestricted Is erasable ATIP start of lead in: -11940 (97:22/60) ATIP start of lead out: 335975 (74:41/50) speed low: 0 speed high: 4 power mult factor: 3 5 recommended erase/write power: 2 A2 values: 5A A6 14 Disk type: Phase change Manuf. index: 43 Manufacturer: Acer Media Technology, Inc. Blocks total: 335975 Blocks current: 335975 Blocks remaining: 335673 cdrecord: Operation not permitted. WARNING: Cannot set RR-scheduler cdrecord: Permission denied. WARNING: Cannot set priority using setpriority(). cdrecord: WARNING: This causes a high risk for buffer underruns. Starting to write CD/DVD at speed 4 in write mode for multi 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: 0 of 0 MB written. Track 01: writing 504 KB of pad data. Track 01: Total bytes read/written: 98304/614400 (300 sectors). Writing time: 13.534s Fixating... Fixating time: 79.694s cdrecord: fifo had 2 puts and 2 gets. cdrecord: fifo was 0 times empty and 0 times full, min fill was 100%.
Getting disc info
$ cdrecord -msinfo dev=/dev/sg0 MULTI_INFO=0,11702
+ mkisofs -R -T -f -o /tmp/backup.img -C 0,11702 -M /dev/scd0 /tmp/backupshadow Rock Ridge signatures found Total translation table size: 598 Total rockridge attributes bytes: 1208 Total directory bytes: 0 Path table size(bytes): 10 Max brk space used 4000 13152 extents written (25 Mb) Performing OPC... Starting new track at sector: 11702 Track 02: 2 of 2 MB written (fifo 100%). Track 02: Total bytes read/written: 2969600/2969600 (1450 sectors). Writing time: 9.640s Fixating... Fixating time: 40.618s cdrecord: fifo had 47 puts and 47 gets. cdrecord: fifo was 0 times empty and 0 times full, min fill was 100%.
Getting disc info
$ cdrecord -msinfo dev=/dev/sg0 MULTI_INFO=11702,20054
+ mkisofs -r -N -L -d -D -J -f -o /tmp/backup.img -C 11702,20054 -M /dev/scd0 /tmp/backupshadow Warning: creating filesystem that does not conform to ISO-9660. Rock Ridge signatures found Using KS8000.CFG for /tmp/backupshadow/ks/ks8.cfg,v (ks8.cfg) Total translation table size: 0 Total rockridge attributes bytes: 4478 Total directory bytes: 6144 Path table size(bytes): 20 Max brk space used a000 20240 extents written (39 Mb) Performing OPC... Starting new track at sector: 20054 Track 03: 0 of 0 MB written. Track 03: writing 228 KB of pad data. Track 03: Total bytes read/written: 380928/614400 (300 sectors). Writing time: 5.706s Fixating... Fixating time: 40.638s cdrecord: fifo had 6 puts and 6 gets. cdrecord: fifo was 0 times empty and 0 times full, min fill was 100%.
# cdrecord -msinfo dev=/dev/sg0 20054,27256 # cdrecord dev=/dev/sg0 -toc Cdrecord 1.10 (i686-pc-linux-gnu) Copyright (C) 1995-2001 Jorg Schilling scsidev: '/dev/sg0' devname: '/dev/sg0' scsibus: -2 target: -2 lun: -2 Linux sg driver version: 3.1.24 Using libscg version 'schily-0.5' Device type : Removable CD-ROM Version : 0 Response Format: 2 Capabilities : Vendor_info : 'SONY ' Identifikation : 'CD-RW CRX175A1 ' Revision : '5YS2' Device seems to be: Generic mmc CD-RW. Using generic SCSI-3/mmc CD-R driver (mmc_cdr). Driver flags : SWABAUDIO first: 1 last 3 track: 1 lba: 0 ( 0) 00:02:00 adr: 1 control: 4 mode: 2 track: 2 lba: 11702 ( 46808) 02:38:02 adr: 1 control: 4 mode: 2 track: 3 lba: 20054 ( 80216) 04:29:29 adr: 1 control: 4 mode: 2 track:lout lba: 20356 ( 81424) 04:33:31 adr: 1 control: 4 mode: -1 $ du -k 254 ./ks 3066 .