Xref: utzoo unix-pc.general:2024 comp.sys.att:5168 Path: utzoo!attcan!uunet!lll-winken!ames!mailrus!rutgers!att!mtunb!jcm From: jcm@mtunb.ATT.COM (was-John McMillan) Newsgroups: unix-pc.general,comp.sys.att Subject: Re: Looks like a bug in the 7300 disk driver Message-ID: <1365@mtunb.ATT.COM> Date: 10 Jan 89 23:58:06 GMT References: <813@ttrde.UUCP> <1360@mtunb.ATT.COM> <983@mstar.UUCP> Reply-To: jcm@mtunb.UUCP (was-John McMillan) Organization: AT&T ISL Middletown NJ USA Lines: 10 In article <983@mstar.UUCP> karl@mstar.UUCP (Karl Fox) writes: >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. OK. I agree. But I live in terror of making this patch and finding it breaks someone's code. jc mcmillan