du always reported the size in 1k blocks even when -b specified a different size. . Notes: Mon Nov 27 11:14:05 EST 2006 geoff there's a new du coming that fixes this, once I sort out the new options. Reference: /n/sources/patch/sorry/du-b Date: Mon Nov 20 20:26:36 CET 2006 Signed-off-by: andrey@lanl.gov Reviewed-by: geoff --- /sys/src/cmd/du.c Mon Nov 20 20:25:44 2006 +++ /sys/src/cmd/du.c Mon Nov 20 20:25:38 2006 @@ -209,5 +209,5 @@ if(nflag) return n; n = (n+blocksize-1)/blocksize; - return n*blocksize/1024LL; + return n; }