bin/59693: df & du output values double when redirected from cron

Pawel Malachowski pawmal-posting at freebsd.lublin.pl
Tue Nov 25 15:41:13 PST 2003


The following reply was made to PR bin/59693; it has been noted by GNATS.

From: Pawel Malachowski <pawmal-posting at freebsd.lublin.pl>
To: Adam Smith <adam at internode.com.au>
Cc: FreeBSD-gnats-submit at 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?
 
 
 -- 
 Pawe³ Ma³achowski


More information about the freebsd-bugs mailing list