From owner-freebsd-hackers Tue Jul 9 15:10:26 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F28C037B400 for ; Tue, 9 Jul 2002 15:10:17 -0700 (PDT) Received: from panzer.kdm.org (panzer.kdm.org [216.160.178.169]) by mx1.FreeBSD.org (Postfix) with ESMTP id 273D243E31 for ; Tue, 9 Jul 2002 15:10:17 -0700 (PDT) (envelope-from ken@panzer.kdm.org) Received: from panzer.kdm.org (localhost [127.0.0.1]) by panzer.kdm.org (8.12.5/8.12.5) with ESMTP id g69MAFKi075496; Tue, 9 Jul 2002 16:10:15 -0600 (MDT) (envelope-from ken@panzer.kdm.org) Received: (from ken@localhost) by panzer.kdm.org (8.12.5/8.12.5/Submit) id g69MAFx2075495; Tue, 9 Jul 2002 16:10:15 -0600 (MDT) (envelope-from ken) Date: Tue, 9 Jul 2002 16:10:15 -0600 From: "Kenneth D. Merry" To: David Gilbert Cc: Keith Pitcher , freebsd-hackers@FreeBSD.ORG Subject: Re: [hackers] Multi CDR burn Message-ID: <20020709161015.A75408@panzer.kdm.org> References: <20020708220105.GA32341@stone.locallink.net> <15658.50186.945164.162061@canoe.velocet.net> <20020709191404.GA97352@stone.locallink.net> <15659.17952.903580.570415@canoe.velocet.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <15659.17952.903580.570415@canoe.velocet.net>; from dgilbert@velocet.ca on Tue, Jul 09, 2002 at 04:22:56PM -0400 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, Jul 09, 2002 at 16:22:56 -0400, David Gilbert wrote: > >>>>> "Keith" == Keith Pitcher writes: > > Keith> Given the hardware, is there a way to burn 8 CDs at one time, > Keith> or is there some mirroring code that is well written enough to > Keith> facilitate it? > > I wouldn't expect mirroring code to be of help here since FreeBSD's > vinum and ccd expect disk formats (not iso_9660) and also expect > regular read/write disks, not CDR (which require special treatment > anyways). > > I also didn't know that there was a write-to-many SCSI command? > Someone can confirm or deny this? There is no such thing. > A narrow SCSI2 bus is 20Mhz * 8 bit or 20 Megabytes per second. A 1x > CDROM is 20 kilobytes per second (roughly, I looked it up and several > sources said 150 kilobits per second) ... so your single scsi bus > should handle 1000 1x CDROMS or 8 125x CDROMS. Simply put, your SCSI > channel (even it it's only 10Mhz is way more then enough). > > Next, let the OS do the work. You'll likely find that you can set the > buffers to almost zero (I think the default is one meg). The code > will be shared, the data will only be read once and you just might > find that it works. UNIX is there to make these simple things work > for you. > > I'll go out on a limb and speculate that there isn't a write-to-many > command as you suggest. My understanding of SCSI is that each command > addresses one target... and that part of the format is hard-coded. You're correct. With SCSI, one initiator talks to one target, so you can't talk to multiple targets at one time. As long as the drives support disconnection, you should be able to burn multiple CDs at once over one bus. Ken -- Kenneth Merry ken@kdm.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message