From owner-freebsd-scsi Thu Mar 27 13:20:22 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id NAA23506 for freebsd-scsi-outgoing; Thu, 27 Mar 1997 13:20:22 -0800 (PST) Received: from lestat.nas.nasa.gov (lestat.nas.nasa.gov [129.99.50.29]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id NAA23487; Thu, 27 Mar 1997 13:20:14 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by lestat.nas.nasa.gov (8.7.5/8.6.12) with SMTP id NAA14980; Thu, 27 Mar 1997 13:16:20 -0800 (PST) Message-Id: <199703272116.NAA14980@lestat.nas.nasa.gov> X-Authentication-Warning: lestat.nas.nasa.gov: Host localhost [127.0.0.1] didn't use HELO protocol To: "David Langford" Cc: arman@bico.co.id, freebsd-hackers@freebsd.org, freebsd-scsi@freebsd.org Subject: Re: DLT exchanger Reply-To: Jason Thorpe From: Jason Thorpe Date: Thu, 27 Mar 1997 13:16:18 -0800 Sender: owner-freebsd-scsi@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Thu, 27 Mar 1997 10:29:59 -1000 (HST) "David Langford" wrote: > The driver works well on the cheapo 4mm Archive/Seagate drive. > The thing that took me awhile to realize was that you had to be very > explicit with chio. You cannot tell it to move a tape into the drive > and expect it to return the one it already has. ...right. This was a concious design decision, which I'll rationalize here: - the driver cannot reasonably keep the state of the changer apparatus; many changers also have front panel controls which may be used at any time by a human operator. - in the case of multiple free slots, who is to make the decision where the in-drive tape should be returned to? This decision is very hard to make, esp. if a human operator has mucked with the front panel controls. - the amount of state one has to keep around gets larger as you add more drives and pickers into the picture. (I've used this with a multi-drive, multi-picker apparatus under NetBSD.) The chio(1) program is meant to be a simple interface for use by scripts/command line. Jason R. Thorpe thorpej@nas.nasa.gov NASA Ames Research Center Home: 408.866.1912 NAS: M/S 258-6 Work: 415.604.0935 Moffett Field, CA 94035 Pager: 415.428.6939