how to copy files to DVD Rewriter on linux
------------------------------------------
[root@esker bin]# pwd
/usr/local/bin
[root@esker bin]# cat cdrecord-wrapper.sh
#!/bin/sh
CDR_SECURITY=8:dvd,clone:sparc-sun-solaris2,i386-pc-solaris2,i586-pc-linux,i686-pc-linux,powerpc-apple,hppa,powerpc-ibm-aix,i386-unknown-freebsd,i386-unknown-openbsd,i386-unknown-netbsd,powerpc-apple-netbsd,i386-pc-bsdi,mips-sgi-irix,i386-pc-sco:1.11::1076000000:::private/research/educational_non-commercial_use:5kiG6nW75l/om7C5dFGBTglXcWO1xJr2ZPcXcVjv1XK7Hk/rd4GtmxgLrhN
export CDR_SECURITY
exec cdrecord-ProDVD "$@"
[root@esker bin]# ./cdrecord-wrapper.sh -scanbus
Cdrecord-ProDVD-Clone 2.01a21 (i686-pc-linux-gnu) Copyright (C) 1995-2003 Jrg Schilling
Unlocked features: ProDVD Clone
Limited features:
This copy of cdrecord is licensed for: private/research/educational_non-commercial_use
Linux sg driver version: 3.1.24
Using libscg version 'schily-0.7'.
scsibus0:
0,0,0 0) 'HP ' 'DVD Writer 200j ' '1.65' 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) *
[root@esker bin]# ./cdrecord-wrapper.sh -scanbus dev=ATAPI
Cdrecord-ProDVD-Clone 2.01a21 (i686-pc-linux-gnu) Copyright (C) 1995-2003 Jrg Schilling
Unlocked features: ProDVD Clone
Limited features:
This copy of cdrecord is licensed for: private/research/educational_non-commercial_use
scsidev: 'ATAPI'
devname: 'ATAPI'
scsibus: -2 target: -2 lun: -2
Warning: Using ATA Packet interface.
Warning: The related libscg interface code is in pre alpha.
Warning: There may be fatal problems.
Using libscg version 'schily-0.7'.
scsibus0:
0,0,0 0) 'HL-DT-ST' 'RW/DVD GCC-4480B' '1.02' Removable CD-ROM
0,1,0 1) 'PIONEER ' 'DVD-RW DVR-106D' '1.07' Removable CD-ROM
0,2,0 2) *
0,3,0 3) *
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *
[root@esker bin]# ./cdrecord-wrapper.sh dev=ATAPI:0,1,0 -v blank=fast OR
[root@esker bin]# ./cdrecord-wrapper.sh dev=ATAPI:0,1,0 -v blank=all
Cdrecord-ProDVD-Clone 2.01a21 (i686-pc-linux-gnu) Copyright (C) 1995-2003 Jrg Schilling
Unlocked features: ProDVD Clone
Limited features:
This copy of cdrecord is licensed for: private/research/educational_non-commercial_use
TOC Type: 1 = CD-ROM
scsidev: 'ATAPI:0,1,0'
devname: 'ATAPI'
scsibus: 0 target: 1 lun: 0
Warning: Using ATA Packet interface.
Warning: The related libscg interface code is in pre alpha.
Warning: There may be fatal problems.
Using libscg version 'schily-0.7'.
SCSI buffer size: 64512
atapi: 1
Device type : Removable CD-ROM
Version : 0
Response Format: 2
Capabilities :
Vendor_info : 'PIONEER '
Identifikation : 'DVD-RW DVR-106D'
Revision : '1.07'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Current: DVD-RW sequential overwrite
Profile: DVD+R
Profile: DVD+RW
Profile: DVD-RW sequential overwrite (current)
Profile: DVD-RW restricted overwrite (current)
Profile: DVD-R sequential recording (current)
Profile: DVD-ROM (current)
Profile: CD-RW
Profile: CD-R
Profile: CD-ROM
Using generic SCSI-3/mmc-2 DVD-R/DVD-RW driver (mmc_dvd).
Driver flags : DVD MMC-3 SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
Drive buf size : 1605632 = 1568 KB
Current Secsize: 2048
Total power on hours: 646
Starting to write CD/DVD at speed 1 in real BLANK mode for single session.
Last chance to quit, starting real write 0 seconds. Operation starts.
Blanking entire disk
Blanking time: 3396.737s
[root@esker bin]# mkisofs -R -J -o /tmp/test.iso /oracle/archive
[root@esker bin]# ./cdrecord-wrapper.sh dev=ATAPI:0,1,0 driveropts=burnfree -v /tmp/test.iso
OR:
[root@esker bin]# ./cdrecord-wrapper.sh dev=ATAPI:0,1,0 -dao driveropts=burnfree -v /tmp/test.iso
Cdrecord-ProDVD-Clone 2.01a21 (i686-pc-linux-gnu) Copyright (C) 1995-2003 Jrg Schilling
Unlocked features: ProDVD Clone
Limited features:
This copy of cdrecord is licensed for: private/research/educational_non-commercial_use
TOC Type: 1 = CD-ROM
scsidev: 'ATAPI:0,1,0'
devname: 'ATAPI'
scsibus: 0 target: 1 lun: 0
Warning: Using ATA Packet interface.
Warning: The related libscg interface code is in pre alpha.
Warning: There may be fatal problems.
Using libscg version 'schily-0.7'.
Driveropts: 'burnfree'
SCSI buffer size: 64512
atapi: 1
Device type : Removable CD-ROM
Version : 0
Response Format: 2
Capabilities :
Vendor_info : 'PIONEER '
Identifikation : 'DVD-RW DVR-106D'
Revision : '1.07'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Current: DVD-RW sequential overwrite
Profile: DVD+R
Profile: DVD+RW
Profile: DVD-RW sequential overwrite (current)
Profile: DVD-RW restricted overwrite (current)
Profile: DVD-R sequential recording (current)
Profile: DVD-ROM
Profile: CD-RW
Profile: CD-R
Profile: CD-ROM
Using generic SCSI-3/mmc-2 DVD-R/DVD-RW driver (mmc_dvd).
Driver flags : DVD MMC-3 SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
Drive buf size : 1605632 = 1568 KB
FIFO size : 4194304 = 4096 KB
Track 01: data 600 MB
Total size: 600 MB = 307248 sectors
Current Secsize: 2048
Total power on hours: 676
WARNING: Phys disk size 307248 differs from rzone size 2298496! Prerecorded disk?
WARNING: Phys start: 196608 Phys end 503855
Blocks total: 2298496 Blocks current: 2298496 Blocks remaining: 1991248
Starting to write CD/DVD at speed 1 in real TAO mode for single session.
Last chance to quit, starting real write 0 seconds. Operation starts.
Waiting for reader process to fill input buffer ... input buffer ready.
BURN-Free is OFF.
Turning BURN-Free on
Starting new track at sector: 0
Track 01: 600 of 600 MB written (fifo 100%) [buf 86%] 4.0x.
Track 01: Total bytes read/written: 629243904/629243904 (307248 sectors).
Writing time: 1011.659s
Average write speed 0.4x.
Min drive buffer fill was 6%
Fixating...
Fixating time: 414.173s
cdrecord-ProDVD: fifo had 9912 puts and 9912 gets.
cdrecord-ProDVD: fifo was 0 times empty and 2460 times full, min fill was 92%.
|