From owner-freebsd-scsi Mon Mar 25 15:52:33 1996 Return-Path: owner-freebsd-scsi Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id PAA18976 for freebsd-scsi-outgoing; Mon, 25 Mar 1996 15:52:33 -0800 (PST) Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id PAA18960 for ; Mon, 25 Mar 1996 15:52:26 -0800 (PST) Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id AAA16284; Tue, 26 Mar 1996 00:50:51 +0200 Received: by sax.sax.de (8.6.11/8.6.12-s1) with UUCP id AAA14015; Tue, 26 Mar 1996 00:50:53 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.7.4/8.6.9) id AAA11336; Tue, 26 Mar 1996 00:35:26 +0100 (MET) From: J Wunsch Message-Id: <199603252335.AAA11336@uriah.heep.sax.de> Subject: Re: turning on/off DAT compression To: freebsd-scsi@freebsd.org Date: Tue, 26 Mar 1996 00:35:25 +0100 (MET) Cc: robsch@robkaos.ruhr.de (Robert Schien) Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: from "Robert Schien" at Mar 25, 96 06:58:51 pm X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL24 ME8a] 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. -- 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. ;-)