Date: Wed, 26 Nov 2003 10:22:23 +1030 From: Adam Smith <adam@internode.com.au> To: Pawel Malachowski <pawmal-posting@freebsd.lublin.pl> Cc: freebsd-bugs@freebsd.org Subject: Re: bin/59693: df & du output values double when redirected from cron Message-ID: <20031125235222.GC8392@internode.com.au> In-Reply-To: <200311252340.hAPNeEQ0056473@freefall.freebsd.org> References: <200311252340.hAPNeEQ0056473@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <pawmal-posting@freebsd.lublin.pl> > To: Adam Smith <adam@internode.com.au> > 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 ԿԬ
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031125235222.GC8392>