= CD Support in mondorescue = The code has to support multiple version of cdrecord/wodim output (inrelationshup to #518) A test is to copy paste these results in: {{{ cat | grep ") '" | grep -n "" | grep -E '[D|C][V|D]' | cut -d':' -f1 }}} On RHEL6 {{{ # cdrecord -scanbus scsibus0: 0,0,0 0) 'TEAC ' 'DV-W28E-RW ' 'G.B2' Removable CD-ROM 0,1,0 1) * 0,2,0 2) * 0,3,0 3) * 0,4,0 4) * 0,5,0 5) * 0,6,0 6) * 0,7,0 7) * }}} On Fedore Core 2 {{{ Cdrecord-Clone 2.01-dvd (i686-pc-linux-gnu) Copyright (C) 1995-2004 J�rg Schilling Linux sg driver version: 3.5.27 Using libscg version 'schily-0.8'. [...] scsibus1: 1,0,0 100) 'YAMAHA ' 'CRW2200E ' '1.0D' Removable CD-ROM 1,1,0 101) 'SONY ' 'DVD-ROM DDU1621 ' 'S1.6' Removable CD-ROM 1,2,0 102) * 1,3,0 103) * 1,4,0 104) * 1,5,0 105) * 1,6,0 106) * 1,7,0 107) * }}} Slackware 2011 {{{ Cdrecord-ProDVD-ProBD-Clone 2.01.01a78 (i686-pc-linux-gnu) Copyright (C) 1995-2010 Jörg Schilling Linux sg driver version: 3.5.34 Using libscg version 'schily-0.9'. 1,0,0 100) 'Samsung' 'CD/DVD-Writer' 1,1,0 101) * 1,2,0 102) * 1,3,0 103) * 1,4,0 104) * 1,5,0 105) * 1,6,0 106) * 1.7.0 107) * scsibus2: 2,0,0 200) 'ATA ' 'SAMSUNG HD160JJ ' 'ZM10' Disk 2,1,0 201) * 2,2,0 202) * 2,3,0 203) * 2,4,0 204) * 2,5,0 205) * 2,6,0 206) * 2,7,0 207) * scsibus3: 3,0,0 300) 'ATA ' 'Maxtor 6L080M0 ' 'BANC' Disk 3,1,0 301) * 3,2,0 302) * 3,3,0 303) * 3,4,0 304) * 3,5,0 305) * 3,6,0 306) * 3,7,0 307) * scsibus6: 6,0,0 600) 'ATA ' 'SAMSUNG HD080HJ ' 'WT10' Disk 6,1,0 601) * 6,2,0 602) * 6,3,0 603) * 6,4,0 604) * 6,5,0 605) * 6,6,0 606) * 6,7,0 607) * }}} Older version: {{{ # cdrecord -scanbus Cdrecord 1.9 (i686-pc-linux-gnu) Copyright (C) 1995-2000 Jörg Schilling Linux sg driver version: 3.1.22 Using libscg version 'schily-0.1' scsibus0: 0,0,0 0) 'TOSHIBA ' 'DVD-ROM SD-R1202' '1020' Removable CD-ROM 0,1,0 1) * 0,2,0 2) * 0,3,0 3) * 0,4,0 4) * 0,5,0 5) * 0,6,0 6) * 0,7,0 7) * }}} Maegia 1: {{{ $ cdrecord -scanbus scsibus5: 5,0,0 500) '_NEC ' 'DVD_RW ND-3500AG' '2.1A' Removable CD-ROM wodim: Warning: controller returns wrong size for CD capabilities page. 5,1,0 501) 'HL-DT-ST' 'CD-ROM GCR-8480B' '2.05' Removable CD-ROM 5,2,0 502) * 5,3,0 503) * 5,4,0 504) * 5,5,0 505) * 5,6,0 506) * 5,7,0 507) * }}} Ubuntu 11.10: {{{ scsibus0: 0,0,0 0) 'PIONEER ' 'BD-RW BDR-206D' '1.04' Removable CD-ROM 0,1,0 1) * 0,2,0 2) * 0,3,0 3) * 0,4,0 4) * 0,5,0 5) * 0,6,0 6) * 0,7,0 7) * }}} and {{{ scsibus1: 1,0,0 100) 'PLEXTOR ' 'DVDR PX-880SA ' '1.10' Removable CD-ROM 1,1,0 101) * }}}