Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.3 4.3bsd-beta 6/6/85; site seismo.CSS.GOV Path: utzoo!linus!decvax!seismo!rick From: rick@seismo.CSS.GOV (Rick Adams) Newsgroups: net.news Subject: Re: Quantitative Gloom and Doom Message-ID: <383@seismo.CSS.GOV> Date: Wed, 9-Oct-85 18:03:08 EDT Article-I.D.: seismo.383 Posted: Wed Oct 9 18:03:08 1985 Date-Received: Fri, 11-Oct-85 08:02:22 EDT References: <10277@ucbvax.ARPA> <602@oliveb.UUCP> <5993@utzoo.UUCP> <128@codas.UUCP> Organization: Center for Seismic Studies, Arlington, VA Lines: 15 Summary: du IS wrong sometimes Why doesn't anyone look at the code for du before spouting off on what it does or doesn't do? On 4.[12]bsd, du keeps track of the first 1000 inodes it finds with multiple links. If it finds more than that, it will not notice that they are duplicates and will count them as if they were distinct files. My system has over 7000 articles on line right now. About 1100 of them are multiple links. So 100 articles are being miscounted and du is wrong in this case. If you have 15000 articles (about 1 months worth), then du will probably miss at least 1000 of them and be WAY off. ---rick