From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rick Hohensee Message-Id: <200010210037.UAA28304@smarty.smart.net> Subject: Re: [9fans] Df command in Plan9? To: 9fans@cse.psu.edu In-Reply-To: from "Alexander Viro" at Oct 20, 0 05:44:23 pm MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Date: Fri, 20 Oct 2000 20:37:47 -0400 Topicbox-Message-UUID: 1adaa8e0-eac9-11e9-9e20-41e7f4b1d025 > > > > On Fri, 20 Oct 2000, Russ Cox wrote: > > > Please don't tell me that du /dev/sda1 would > > do something other than report the disk size > > under Linux. > df, BTW, is one of those design flaws of unix that is so obvious nobody sees it. A directory has a size. It is the size of it's contents, not the size of the "file" containing the dirnames and so on. The size of a directory, it's "du-size", is something the filesystem should keep track of. I had a bag of code hung off the side of Linux for "Dyndufs", but then there was a severe ripple in the chrono-synclastic infindibulum, and I got a job. I wonder what X, GNOME, Enlightenment, Perl and so on would look like if the developers of them were constantly seeing the size results of thier actions. Rick Hohensee