From owner-freebsd-current Mon Nov 15 10:58: 0 1999 Delivered-To: freebsd-current@freebsd.org Received: from gndrsh.dnsmgr.net (GndRsh.dnsmgr.net [198.145.92.4]) by hub.freebsd.org (Postfix) with ESMTP id B923414D21 for ; Mon, 15 Nov 1999 10:57:56 -0800 (PST) (envelope-from freebsd@gndrsh.dnsmgr.net) Received: (from freebsd@localhost) by gndrsh.dnsmgr.net (8.9.3/8.9.3) id KAA15544; Mon, 15 Nov 1999 10:57:51 -0800 (PST) (envelope-from freebsd) From: "Rodney W. Grimes" Message-Id: <199911151857.KAA15544@gndrsh.dnsmgr.net> Subject: Re: FreeBSD 4.0 SCSI Tape Driver In-Reply-To: from Matthew Jacob at "Nov 15, 1999 09:43:38 am" To: mjacob@feral.com Date: Mon, 15 Nov 1999 10:57:51 -0800 (PST) Cc: current@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > Reread/reresponse, sorry- ENOCOFFEE: > > > > > > > > 1 filemark can not be used for EOT, it is EOF, you can't tell if what you > > > read next is another file or not that may have been left by a previosly > > > longer usage on the tape. > > > > > > Well, read until *BLANK CHECK* seems to be what the driver can and should > do. Let me ponder this some- I believe what I propose actually works fine > for all the devices we currently support (hell, I use it all the time > myself). If you can provide an actual example of a SCSI tape device that > if you take FreeBSD-current or FreeBSD-3.3 and do a 'mt seteotmodel 1' on > and *not* be able to detect EOT, let me know! You won't get ``blank check'' if the tape has previosly been written past where you just finished writing. Instead you often get trash. In your other message you talk about the driver getting 2 residuals in a row, well, unless you write the 2 EOF's you won't always get that... depends on if the tape drive does it automagically (which many newer drives do, they write 2 eof's and backspace over 1 of them for you when ever you tell them to write EOF, the drive itself uses 2 EOF's to determine logical EOT :-)). -- Rod Grimes - KD7CAX @ CN85sl - (RWG25) rgrimes@gndrsh.dnsmgr.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message