Xref: utzoo unix-pc.general:2019 comp.sys.att:5155 Path: utzoo!utgpu!watmath!clyde!att!osu-cis!mstar!karl From: karl@mstar.UUCP (Karl Fox) Newsgroups: unix-pc.general,comp.sys.att Subject: Re: Looks like a bug in the 7300 disk driver Message-ID: <983@mstar.UUCP> Date: 10 Jan 89 15:38:27 GMT References: <813@ttrde.UUCP> <1360@mtunb.ATT.COM> Reply-To: karl@mstar.UUCP (Karl Fox) Organization: Morning Star Technologies, Columbus, Ohio Lines: 8 Come on, folks! If you provide a 4-byte buffer to read, it is a BUG to write 512 bytes to it! Sure, the raw disk device has size limitations, but it should never round up. The driver should probably return EINVAL if the size isn't a multiple of 512. -- Karl Fox, Morning Star Technologies UUCP: osu-cis!mstar!karl -or- pyramid!mstar!karl -or- sequent!mstar!karl Internet: osu-cis!mstar!karl@tut.cis.ohio-state.edu