--- Victor Loureiro Lima <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] du -s /etc
> 2544    /etc
> 
> What gives that when "/usr/bin/du -s" is running from crontab is gives
> the exact double of entries in the directory but when it is running
> from console itself, it doesnt display the same amount of
> entries!?!?!?!
> 
I think, it is about block size:
in the crontab environment block size is 512B and in ur shell it is 1024B.

There is an environment variable: BLOCKSIZE
and there is an option: -k

Just try "du -ks /etc" in ur crontab...

-Arne


 
____________________________________________________________________________________
Now that's room service!  Choose from over 150,000 hotels
in 45,000 destinations on Yahoo! Travel to find your fit.
http://farechase.yahoo.com/promo-generic-14795097
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to