From owner-freebsd-bugs@FreeBSD.ORG Tue Nov 25 15:53:16 2003 Return-Path: Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0BC0816A4D9 for ; Tue, 25 Nov 2003 15:53:16 -0800 (PST) Received: from gremlin.internode.com.au (gremlin.internode.com.au [192.83.231.88]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4E12843FBD for ; Tue, 25 Nov 2003 15:53:14 -0800 (PST) (envelope-from adam@internode.com.au) Received: from gremlin.internode.com.au (localhost [127.0.0.1]) hAPNqOJ0008778; Wed, 26 Nov 2003 10:22:24 +1030 (CST) (envelope-from adam@internode.com.au) Received: (from adam@localhost) by gremlin.internode.com.au (8.12.9/8.12.9/Submit) id hAPNqNNL008777; Wed, 26 Nov 2003 10:22:23 +1030 (CST) X-Authentication-Warning: gremlin.internode.com.au: adam set sender to adam@internode.com.au using -f Date: Wed, 26 Nov 2003 10:22:23 +1030 From: Adam Smith To: Pawel Malachowski Message-ID: <20031125235222.GC8392@internode.com.au> References: <200311252340.hAPNeEQ0056473@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=unknown-8bit Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <200311252340.hAPNeEQ0056473@freefall.freebsd.org> User-Agent: Mutt/1.4.1i X-Face: $vsV$1FNbZN\JVpjV#&+/!oVW`Kw$j?w_,te\SS}(tKD21c+l$t%\RCS(r$G; XXk]6,(!N:&(N3EV0bY`3):UrgG7'*qsj3l.75IaHV1<`i*{[L\:F*l6fH##C:-p2]xW/R-Z:!bo; 5g3GP-{I{}7O>tN}`Xm/=-:8NG?f-r'$Qc3y[aW-7'W_S<`KYU!_; `7K=kuC$-.7J2*kk=~`c@ADp+xhsv(!a@eW-R_5wtx+tC)(]%W+ cc: freebsd-bugs@freebsd.org Subject: Re: bin/59693: df & du output values double when redirected from cron X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Nov 2003 23:53:16 -0000 On Tue, Nov 25, 2003 at 03:40:14PM -0800, Pawel Malachowski said: > The following reply was made to PR bin/59693; it has been noted by GNATS. > > From: Pawel Malachowski > To: Adam Smith > Cc: FreeBSD-gnats-submit@freebsd.org > Subject: Re: bin/59693: df & du output values double when redirected from cron > Date: Wed, 26 Nov 2003 00:37:31 +0100 > > On Wed, Nov 26, 2003 at 09:47:56AM +1030, Adam Smith wrote: > > > Now let's look at the output: > > > > $ df | grep ad0s2f > > /dev/ad0s2f 49028074 26711856 18393974 59% /usr > > > > $ cat output.txt > > /dev/ad0s2f 98056148 53423708 36787952 59% /usr > > > > Both du and df produced the same results, while ls worked properly, > > and other programs with "digit" values such as iostat worked fine aswell. > > How about BLOCKSIZE in Yours and crons environment? Well done! "Bug" resolved :) "df -k" now works fine. -- Adam Smith : adam@internode.com.au Corporate Support & Provisioning Internode : http://www.internode.on.net Phone : (08) 8228 2999 ԿԬ