From owner-freebsd-current Sat Nov 20 12:33: 7 1999 Delivered-To: freebsd-current@freebsd.org Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by hub.freebsd.org (Postfix) with ESMTP id 1A81C14C88 for ; Sat, 20 Nov 1999 12:32:53 -0800 (PST) (envelope-from j@uriah.heep.sax.de) Received: (from uucp@localhost) by sax.sax.de (8.9.3/8.9.3) with UUCP id VAA16336 for freebsd-current@freebsd.org; Sat, 20 Nov 1999 21:32:52 +0100 (CET) Received: (from j@localhost) by uriah.heep.sax.de (8.9.3/8.9.1) id VAA11447; Sat, 20 Nov 1999 21:21:31 +0100 (MET) (envelope-from j) Date: Sat, 20 Nov 1999 21:21:31 +0100 (MET) Message-Id: <199911202021.VAA11447@uriah.heep.sax.de> Mime-Version: 1.0 X-Newsreader: knews 0.9.8 Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) Organization: Private BSD site, Dresden X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E References: From: j@uriah.heep.sax.de (J Wunsch) Subject: Re: FreeBSD 4.0 SCSI Tape Driver- Okay, Okay, you win.... X-Original-Newsgroups: local.freebsd.current To: freebsd-current@freebsd.org Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Matthew Jacob wrote: > Too many people have objected. I didn't make my case clearly enough, > but because enough people of have raised issues, the default won't > be changed. Too bad. I think your idea was absoultely right, and i'm rather tired myself to have to `fix' it for every new tape drive we encounter. All the current tape drives do support a form of physical EOD marks, where you can't read on once you've hit EOD. The driver could easily have faked the double-filemark at EOT, so the API wouldn't have changed at all. (Just as you see the EOD from the tape, finish the current transfer and return a "short read", and being asked a second time, return a null read. Upon further attempts, return an error.) Btw., Matt, couldn't modepage 0x10, field "EOD defined" be used in order to decide whether a tape drive supports a physical EOD notation, and thus doesn't require two filemarks at EOD? If i read the standard correctly, those fields should be set to 3 for a tape drive that doesn't support physical EOD. (I can't verify, i don't have any such drive.) -- 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. ;-) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message