Xref: utzoo unix-pc.general:2015 comp.sys.att:5141 Path: utzoo!utgpu!watmath!clyde!att!ulysses!cjc From: cjc@ulysses.homer.nj.att.com (Chris Calabrese[mav]) Newsgroups: unix-pc.general,comp.sys.att Subject: Re: Looks like a bug in the 7300 disk driver Summary: block devices... Message-ID: <11078@ulysses.homer.nj.att.com> Date: 9 Jan 89 20:48:40 GMT References: <813@ttrde.UUCP> Organization: AT&T Bell Laboratories, Murray Hill Lines: 15 In article <813@ttrde.UUCP>, pfales@ttrde.UUCP (Peter Fales) writes: | I have discovered what appears to be a bug in the hard disk device driver | for the unix-pc. To demonstrate the bug, open the device "/dev/rfp000", | using open(2) and read four bytes (one int) using read(2). The | read will actually return 512 bytes! However, if "/dev/fp000" is used, | the correct value of 4 is returned. Correct me (not flame me :-) if I'm wrong, but I believe that /dev/rfp000 is the 'raw', or block version of /dev/fp000. As such, it has no idea of 'bytes', but only 'blocks', which happen to be 512 'bytes' in this case. -- Christopher J. Calabrese AT&T Bell Laboratories att!ulysses!cjc cjc@ulysses.att.com