Date: Wed, 02 Feb 2000 07:39:38 -0600 From: Scott Johnson <tmtowtdi@mailandnews.com> To: freebsd-questions@freebsd.org Subject: Re: IDE CD-R Drives Message-ID: <3898339A.2781E494@mailandnews.com>
next in thread | raw e-mail | index | archive | help
Mark Szlaga wrote: > > Greetings, > I own a CR-2801 CD-R drive, and would like to use it under FreeBSD. > With Linux there was the IDE-SCSI drivers, which made the ATAPI drive > act as a SCSI device. Is there any paralell in the BSD kernel? Or > is there application software to allow me to access this drive. Under FreeBSD there is support for IDE CD-RW's, without a scsi emulation layer. In /usr/share/examples/atapi you'll find example scripts written by the maintainer of atapi-cd.c: #!/usr/local/bin/bash # :-) device=/dev/r$1 wormcontrol -f$device prepdisk double wormcontrol -f$device track data dd if=$2 of=$device bs=20k wormcontrol -f$device fixate 1 onp Called as `burndata acd0c image` it should work. The burnaudio script is just as simple: #!/usr/local/bin/bash device=/dev/r$1 wormcontrol -f$device prepdisk double shift for f in $* do echo Burning file $f wormcontrol -f $device track audio wormcontrol -f $device nextwriteable dd if=$f of=$device bs=2352 done wormcontrol -f $device fixate 1 onp The racd?? device is just a raw character interface to the device, and any tool (tar, for instance) which works with such devices can be used after you've prepared the disk with wormcontrol(8), which controls the device-specific functionality of the drive. Do not be confused: forget any references you may come upon to `/dev/worm0' or worm(4)! They are obsolete. Scott Johnson To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3898339A.2781E494>