From mboxrd@z Thu Jan 1 00:00:00 1970 From: erik quanstrom Date: Mon, 24 Oct 2011 08:15:09 -0400 To: 9fans@9fans.net Message-ID: In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] how to burn iso Topicbox-Message-UUID: 399fc5d6-ead7-11e9-9d60-3106f5b1d025 On Mon Oct 24 04:05:31 EDT 2011, tyapca7@gmail.com wrote: > #!/bin/rc > # burn a CD from ISO-9660 image on $home/cd.iso > # version 0.03 > # Thu Jul 3 06:35:32 EDT 2003 > > rfork e > t1 =`{date} > kill cdfs | rc > kill 9660srv | rc > cdfs -d /dev/sdD0 > cp $home/cd.iso /mnt/cd/wd || echo CD BURNING ERROR > t2 =`{date} > echo begin: $t1 > echo end: $t2 > # -eof- the key bit to understand is that cdfs is the only part of the system that knows how to send special scsi commands for talking to dvd+/+/i or blu-ray-* or cd-* devices. it uses the raw interface to inject the commands directly. neither the disk drivers nor the sd system know anything about cdroms, except that they are removable. - erik