From owner-freebsd-questions Fri Feb 19 16:40:35 1999 Delivered-To: freebsd-questions@freebsd.org Received: from mail.HiWAAY.net (fly.HiWAAY.net [208.147.154.56]) by hub.freebsd.org (Postfix) with ESMTP id 0D2E811A0A for ; Fri, 19 Feb 1999 16:40:30 -0800 (PST) (envelope-from dkelly@nospam.hiwaay.net) Received: from nospam.hiwaay.net (tnt3-208-147-146-154.dialup.HiWAAY.net [208.147.146.154]) by mail.HiWAAY.net (8.9.1a/8.9.0) with ESMTP id SAA29910; Fri, 19 Feb 1999 18:40:24 -0600 (CST) Received: from nospam.hiwaay.net (localhost [127.0.0.1]) by nospam.hiwaay.net (8.9.2/8.9.2) with ESMTP id SAA81105; Fri, 19 Feb 1999 18:40:21 -0600 (CST) (envelope-from dkelly@nospam.hiwaay.net) Message-Id: <199902200040.SAA81105@nospam.hiwaay.net> X-Mailer: exmh version 2.0.2 2/24/98 To: Jon Drukman Cc: freebsd-questions@FreeBSD.ORG From: David Kelly Subject: Re: tape drive position In-reply-to: Message from Jon Drukman of "Fri, 19 Feb 1999 20:31:41 GMT." <36CDCA2D.345FE0FC@gamespot.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 19 Feb 1999 18:40:21 -0600 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Jon Drukman writes: > is there a way to find out what position the tape in a scsi tape drive > is at? when i used to use an exabyte drive on IRIX, mt status would > tell me if the tape was rewound, or what fileno/blockno the tape was > positioned at. > > mt status on freebsd with a HP Colorado T4000 drive just gives: > > Present Mode: Density = 0x45 Blocksize = 512 bytes > ---------available modes--------- > Mode 0: Density = 0x00 Blocksize variable > Mode 1: Density = X3.136-1986 Blocksize = 512 bytes > Mode 2: Density = X3.39-1986 Blocksize variable > Mode 3: Density = X3.54-1986 Blocksize variable My 3.0-stable machine (Feb 8 snap) at work reports file# and block# on Seagate DDS-3 tape drives. But right now I'm setting at an older 3.0 which doesn't report the position information. I too used Irix a lot, and *really* like most of the reporting information one can get out of Irix's mt(1). The thing missing from the FreeBSD "mt status" now is Irix's verbosity as to whether or not you are at BOT, EOD, or if you are positioned at a FMK. One thing I'd like somebody to tell me The Right Way To Do, is how to determine if a tape is written in a hardware-compression mode? If I have a DDS-DC tape drive and attempt to read a compressed tape it figures that I must know what I'm doing and slips into compressed mode. Or vice versa. The only way I know to ID a compressed tape is to put it in a DDS drive which doesn't support compression and see what happens. Same for Irix and FreeBSD. -- David Kelly N4HHE, dkelly@nospam.hiwaay.net ===================================================================== The human mind ordinarily operates at only ten percent of its capacity -- the rest is overhead for the operating system. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message