From owner-freebsd-scsi Wed Mar 27 14:46:59 1996 Return-Path: owner-freebsd-scsi Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id OAA08655 for freebsd-scsi-outgoing; Wed, 27 Mar 1996 14:46:59 -0800 (PST) Received: from ref.tfs.com (ref.tfs.com [140.145.254.251]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id OAA08601 for ; Wed, 27 Mar 1996 14:46:47 -0800 (PST) Received: (from julian@localhost) by ref.tfs.com (8.7.3/8.6.9) id QAA23973; Mon, 25 Mar 1996 16:51:53 -0800 (PST) Message-Id: <199603260051.QAA23973@ref.tfs.com> Subject: Re: turning on/off DAT compression To: joerg_wunsch@uriah.heep.sax.de Date: Mon, 25 Mar 1996 16:51:53 -0800 (PST) From: "JULIAN Elischer" Cc: freebsd-scsi@freebsd.org, robsch@robkaos.ruhr.de In-Reply-To: <199603252335.AAA11336@uriah.heep.sax.de> from "J Wunsch" at Mar 26, 96 00:35:25 am X-Mailer: ELM [version 2.4 PL25 ME8b] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-scsi@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > > As Robert Schien wrote: > > > > Has anyone a script or short program to turn on/off the compression > > mode of a DAT drive? It seems that the 'mt' command doesn't support > > such a command yet. > > I've once posted a /usr/share/misc/scsi_modes definition for the mode > page 0x10 (?) in this mailing list. Using this, you should be able to > edit the compression field in the mode page. Alas, none of the drives > avaible to me did really let me edit this field, so there are > certainly other problems around. > > (I've trashed my archive of freebsd-scsi, so i cannot repost this > message now. However, you should be able to dig it up in the mailing > list archive on freefall, or via the WWW server.) > > Once we know that it works, adding it to the ioctl(MTIOCOP) and to > mt(1) is 5 minutes of work. The IOCTL is already there! and so is the code in the kernel! > > -- > cheers, J"org > > joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE > Never trust an operating system you don't have sources for. ;-) >