From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: To: 9fans@cse.psu.edu Subject: Re: [9fans] bug in disk/format From: nigel@9fs.org MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Date: Mon, 27 May 2002 09:32:11 +0100 Topicbox-Message-UUID: 9d0e595a-eaca-11e9-9e20-41e7f4b1d025 > rsc writes: >> For better or worse, the sd53c8xx driver >> truncates very large writes (like an entire kernel!). It returns >> the correct short write count, but format wasn't checking >> for short writes. > > umm, isn't this a bug in the driver? the man page for write(2) says, > Yep, and I think "for better or worse" acknowledges that. I fixed this over a year ago, but somehow it never made it to 3rd, and hence not 4th, edition. I've posted the fix to 9trouble, but anyone wanting to read/write more than 128K at a time to Symbios controlled disk can pick up the files as http://www.9fs.org/dist/ncr/sd53c8xx.tgz