*BSD News Article 58522


Return to BSD News archive

#! rnews 2763 bsd
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!nntp.coast.net!zombie.ncsc.mil!news.mathworks.com!fu-berlin.de!zib-berlin.de!irz401!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.publish.cdrom.hardware,comp.publish.cdrom.software,comp.unix.bsd.freebsd.misc,comp.sys.sun.misc
Subject: Re: Writing CD-R under FreeBSD, Linux or SunOS ?
Date: 29 Dec 1995 23:55:22 GMT
Organization: Private BSD site, Dresden
Lines: 48
Message-ID: <4c1v5a$b4r@uriah.heep.sax.de>
References: <4bq5f7$f3j@spectator.cris.com> <4bqfh1$6n1@brachio.zrz.tu-berlin.de> <4bqljl$bu0@taco.cc.ncsu.edu> <4buvqb$d2h@gazette.bcm.tmc.edu>
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
Xref: euryale.cc.adfa.oz.au comp.publish.cdrom.hardware:7988 comp.publish.cdrom.software:5357 comp.unix.bsd.freebsd.misc:11757 comp.sys.sun.misc:21974

dan@dna.neusc.bcm.tmc.edu writes:

> )>	Is there a good program that can burn the image generated by mkisofs 
> )>to the 522 under UNIX ? Preferably very cheap or free.
> )>You can use cdwrite and cdwtools. Works great under Linux. You'll
> )>probably find it at the same place where you found mkisofs.
> 
> 	But how about FREEBSD ? Does cdwrite work under FREEBSD ?
> 	Thanks.

Linux' cdwrite itself won't be ported.  It does all the SCSI handling
itself, which is not what i believe being Good Coding Style.

FreeBSD does already have a `worm' SCSI driver that's supposed to
handle this class of devices.  FreeBSD 2.1R's worm driver should at
least be able to recognize your drive (simply add a ``device worm0''
to your config file).

Note that although the driver does no longer panic your system on a
regular basis, it's still somewhat fragile and rather `experimental'.
(Trying a dd(1) on /dev/rworm0 should yield you a ``Incorrect command
sequence'' SCSI error.)

cdwrite splits into two parts:

*	prepare the drive for a write operation

	. For FreeBSD, this could be handled by some invocations
	  of scsi(8).  Eventually, it will move into the worm driver
	  some day, and be controlled by something like wormcontrol(8).

*	actually write the data

	. For FreeBSD, this could be handled by dd(1).

I'm currently in the process of experimenting with the above options,
so perhaps i might end up with a Perl script that hopefully will give
me a burnt CD some day.  Once i've got this working, we will discuss
how to go on.

Don't expect something useful before 1996. :-)

-- 
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. ;-)