Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84 SMI; site sun.uucp Path: utzoo!watmath!clyde!burl!ulysses!ucbvax!decvax!decwrl!sun!shannon From: shannon@sun.uucp (Bill Shannon) Newsgroups: net.unix-wizards Subject: Re: minor bug in dump, can cause system to hang. Message-ID: <2870@sun.uucp> Date: Thu, 10-Oct-85 04:23:21 EDT Article-I.D.: sun.2870 Posted: Thu Oct 10 04:23:21 1985 Date-Received: Sun, 13-Oct-85 04:06:46 EDT References: <1763@brl-tgr.ARPA> <14694@onfcanim.UUCP> <2856@sun.uucp> <5239@elsie.UUCP> Organization: Sun Microsystems, Inc. Lines: 17 > > > But why fix dump when the problem is almost certainly in the disk driver? > > > > . . .If you read the man pages for the disk devices you will see > > that they strongly suggest that you do reads in multiples > > of 512 (== DEV_BSIZE) when reading the raw device. . . > > The bug is in dump, and should be fixed there. > > If the claim is that dump "ought to" read in multiples of DEV_BSIZE, > then the driver is buggy in its failure to reject read requests of other sizes. The manual doesn't go so far as to say that this will not work, or may not work, only that it is suggested that you not do it. The driver is free to provide this capability as an extension (in which case the previously mentioned bugs should be fixed so that it works properly) but no portable program should depend on that extension. Bill Shannon