*BSD News Article 60440


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.ysu.edu!usenet.ins.cwru.edu!gatech!news.mathworks.com!fu-berlin.de!zrz.TU-Berlin.DE!cs.tu-berlin.de!informatik.uni-bremen.de!nordwest.pop.de!uniol!uni-erlangen.de!news.tu-chemnitz.de!irz401!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: One more try... CD-R writing from FreeBSD
Date: 24 Jan 1996 00:05:07 GMT
Organization: Private BSD site, Dresden
Lines: 48
Message-ID: <4e3t3j$6th@uriah.heep.sax.de>
References: <neIKwIf@quack.kfu.com>
Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
NNTP-Posting-Host: localhost.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: knews 0.9.3

nsayer@quack.kfu.com (Nick Sayer) writes:
> I don't know enough about SCSI to figure out how to use either
> scsi(8) or scsi(3) in order to burn a CD-R worm disk. Has this
> been done successfully under FreeBSD, and if not, the following
> questions come to mind:

The driver in 2.1R cannot really do this.  This is work in progress,
and all i've got so far is a proof-of-concept stage with a single CD-R
burnt by the help of a Perl script, calling scsi(8), team(1), and
dd(1).

The driver needs an overhaul now.

> 1. What would the general procedure be for taking either the
> output of mkisofs or the output of dd if=/dev/rcd0c (where cd0
> is some other CD target) and having the HP 4020i burn it? I
> take it there is more to it than just using dd and making sure to
> keep up with the record rate of the writer.

dd is too weak.  It can only either read or write, this will starve
your CD-R.  (In particular, since the HP burner has only 1 Meg of
cache.)

> 2. Does this procedure generalize across different vendors of CD-R
> writers?

The hairy details of how to setup the burner in order to prepare
writing a track differ widely. :-(

> 3. Should I configure the HP (if I buy one) as a cd target, worm
> target (I suspect this is correct), disk or unknown?

worm.

> Thanks in advance. If I successfully write a CD, I'll post how I did
> it. Of course, step 1 is buying the writer. :-)

Better buy a writer with some more cache.  Mine has 2 MB, upgradable
to 32 MB.  (It's a Plasmon RF4100, in case you wonder.  Note, the
RF4200 are apparently low-cost, to compete with HP, and do also have
only 1 MB cache.)

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)