"cdrecord -scanbus dev=ATAPI" gives me the following...

scsibus0:
        0,0,0     0) 'HITACHI ' 'DVD-ROM GD-5000 ' '0110' Removable CD-ROM
        0,1,0     1) 'SONY    ' 'CD-RW  CRX100E  ' '1.0m' 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) *

  I copy/move a bunch of files into directory "xfer", and burn an ISO with
the following script...

#!/bin/sh
mkisofs -R -J xfer | cdrecord -tao -v fs=8m -data dev=ATAPI:0,1,0 -

Piping direct from mkisofs avoids creating, and then deleting, a
physical ISO file.  It does give a warning message because, with input
from stdin, cdrecord has no way of telling in advance whether it'll fit
onto the CD.

-- 
Walter Dnes <[EMAIL PROTECTED]>
My musings on technology and security at http://tech_sec.blog.ca
-- 
gentoo-user@gentoo.org mailing list

Reply via email to