Problem
My DVD-writer allows to write DVD-RAM. Can I use these media type on my SCO platform ?
Solution
DVD-RAM writers use a different way of writing the RAM media as the media is hard-sectored and therefore can be written similar to hard disk.
Therefore cdrecord/dvdrecord does not support DVD-RAM as it actually will report "unsupported DVD-RAM media" as shown below:
# cdrecord -v -checkdrive
Cdrecord-ProDVD-Clone 2.01 (i586-sco-sysv5uw7.1.4)Copyright (C) 1995-2004 Joerg Schilling
TOC Type: 1 = CD-ROM
scsidev: '3,0,0'
scsibus: 3 target: 0 lun: 0
Using libscg version 'schily-0.8'.
Driveropts: 'burnfree'
SCSI buffer size: 32768
atapi: 1
Device type : Removable CD-ROM
Version : 0
Response Format: 2
Capabilities :
Vendor_info : 'HL-DT-ST'
Identifikation : 'DVDRAM GSA-4163B'
Revision : 'A103'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Current: DVD-RAM
Profile: DVD-RAM (current)
Profile: DVD-R sequential recording
Profile: DVD-RW sequential overwrite
Profile: DVD-RW restricted overwrite
Profile: DVD+RW
Profile: DVD+R
Profile: DVD+RW/DL
Profile: DVD-ROM
Profile: CD-R
Profile: CD-RW
Profile: CD-ROM
Profile: Removable Disk (current)
cdrecord: Found unsupported DVD-RAM media.
cdrecord: Sorry, no CD/DVD-Recorder or
unsupported CD/DVD-Recorder found on this target.
Using generic SCSI-3/mmc CD-ROM driver (mmc_cd).
Driver flags : MMC-3 SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R
RAW/R16 RAW/R96P RAW/R96R
Drive buf size : 851968 = 832 KB
Drive DMA Speed: 2889 kB/s 16x CD 2x DVDIn order to write an ISO image to a DVD-RAM you can use the readcd tool as it allows to write directly to the device although the name indicates it only allows reading.
To write an image to DVD-RAM one needs to use the "-w" option of readcd.
Example:# readcd dev=3,0,0 -w f=/home/iso/sample.iso
Read speed: 4155 kB/s (CD 23x, DVD 3x).
Write speed: 4155 kB/s (CD 23x, DVD 3x).
Capacity: 2236704 Blocks = 4473408 kBytes = 4368 MBytes = 4580 prMB
Sectorsize: 2048 Bytes
Copy from file '/home/iso/sample.iso' to SCSI (3,0,0) disk
end: 2236704
addr: 181529 cnt: 96
Time total: 195.316sec
Wrote 363058.00 kB at 1858.8 kB/sec.The list of possible parameters for readcd will be printed by:
# readcd -help
readcd -help
Usage: readcd [options]
options:
-version print version information and exit
dev=target SCSI target to use
f=filename Name of file to read/write
sectors=range Range of sectors to read/write
speed=# set speed of drive (MMC only)
ts=# set maximum transfer size for a single SCSI cmd
-w Switch to write mode
-c2scan Do a C2 error scan
-fulltoc Retrieve the full TOC
-clone Retrieve the full TOC and all data
timeout=# set the default SCSI command timeout to #.
debug=#,-d Set to # or increment misc debug level
kdebug=#,kd=# do Kernel debugging
-quiet,-q be more quiet in error retry mode
-verbose,-v increment general verbose level by one
-Verbose,-V increment SCSI command transport verbose level by one
-silent,-s do not print status of failed SCSI commands
-scanbus scan the SCSI bus and exit
-noerror do not abort on error
-nocorr do not apply error correction in drive
-notrunc do not truncate outputfile in read mode
retries=# set retry count (default is 128)
-overhead meter SCSI command overhead times
meshpoints=# print read-speed at # locations
-factor try to use speed factor with meshpoints=#
if possiblesectors=0-0 will read nothing, sectors=0-1 will read one sector starting from 0
See also
man readcd(1)