From owner-freebsd-scsi Mon May 27 14:14:57 1996 Return-Path: owner-freebsd-scsi Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA13474 for freebsd-scsi-outgoing; Mon, 27 May 1996 14:14:57 -0700 (PDT) Received: from linux4nn.gn.iaf.nl (root@linux4nn.gn.iaf.nl [193.67.144.34]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id OAA13464 for ; Mon, 27 May 1996 14:14:51 -0700 (PDT) Received: from uni4nn.iaf.nl (root@uni4nn.iaf.nl [193.67.144.33]) by linux4nn.gn.iaf.nl (8.6.9/8.6.9) with SMTP id XAA06263; Mon, 27 May 1996 23:14:36 +0200 Received: by uni4nn.iaf.nl with UUCP id AA26957 (5.67b/IDA-1.5); Mon, 27 May 1996 23:14:10 +0200 Received: by iafnl.es.iaf.nl with UUCP id AA32513 (5.67b/IDA-1.5); Mon, 27 May 1996 22:36:30 +0200 Received: (from wilko@localhost) by yedi.iaf.nl (8.6.12/8.6.6) id TAA22170; Mon, 27 May 1996 19:14:55 +0200 From: Wilko Bulte Message-Id: <199605271714.TAA22170@yedi.iaf.nl> X-Organisation: Private FreeBSD site - Arnhem - The Netherlands Subject: Re: kern/1245: scsi tape driver write-protect and eject handling is broken To: joerg_wunsch@uriah.heep.sax.de Date: Mon, 27 May 1996 19:14:55 +0200 (MET DST) Cc: freebsd-scsi@freebsd.org, fredriks@mcs.com In-Reply-To: <199605261657.SAA02378@uriah.heep.sax.de> from "J Wunsch" at May 26, 96 06:57:15 pm X-Mailer: ELM [version 2.4 PL23] Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-scsi@freebsd.org X-Loop: FreeBSD.org Precedence: bulk As J Wunsch wrote... > As Wilko Bulte wrote: > > > Something like the following: > > > > - mt should have a way to find out if a tape is SCSI or not > > (ioctl that works on SCSI dev but not on other tapes ?) > > - mt should have a way to get inquiry string from the tape > > - mt should have a 'tapecap' file to know what is valid for a particular > > drive, compression and all. It can now also display the density settings > > that are non-SCSI-2 standard in an ASCII strings iso in hex. > > I don't mind you implementing it. 8-) I guessed that one :) But you left off my last remark about 'gross overkill'. I only run the R FreeBSDs, not current. This makes hacks on -current stuff even more unlikely. But kidding aside: isn't the most simple and elegant(?) way to solve the issue getting rid of the density checks in st.c? Wilko _ __________________________________________________________________________ | / o / / _ Wilko Bulte email: wilko@yedi.iaf.nl |/|/ / / /( (_) Private FreeBSD site - Arnhem - The Netherlands --------------------------------------------------------------------------------