Date: Fri, 26 Dec 1997 16:20:02 +0100 From: J Wunsch <j@uriah.heep.sax.de> To: freebsd-scsi@FreeBSD.ORG Cc: msmith@3-cities.com Subject: Re: DAT question/problem! Message-ID: <19971226162002.29967@uriah.heep.sax.de> In-Reply-To: <34A3530D.590@3-cities.com>; from Mark Smith on Thu, Dec 25, 1997 at 10:47:41PM -0800 References: <34A3530D.590@3-cities.com>
next in thread | previous in thread | raw e-mail | index | archive | help
As Mark Smith wrote: > OK, I then do a write(mt,buff,size) in a loop to > write the block pattern out. I then receive a write=-1 and > errno = 5 (Input Output error). Is this how it should be?? It's not, but it's the way it is. It breaks the common unix semantics, for EOF in read/write, and in particular dump -a. I've got an open PR for it. Alas, it's not very simple to fix (otherwise i wouldn't have filed a PR but fixed it myself), since there's a bunch of delayed error reporting etc. -- 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. ;-)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19971226162002.29967>