From: DCT Jared Smith (jared@dctkc.com)
Date: 07/05/02


Message-Id: <200207052151.g65LpXSl000814@marauder.illiana.net>
From: DCT Jared Smith <jared@dctkc.com>
Date: Fri, 5 Jul 2002 16:51:34 -0500
Subject: Re: Block Size Program

calc.exe.

There are 512 bytes to a block. You can do the math in
your head after the first coupla times, because 1K is
two blocks.

The problem comes in the way that a 12 byte file will
appear in Windows as a 1Kb file, because Windows won't
measure in less than 1K increments.

So there is some accuracy loss there. A 1 block file is
a 1K Windows file, but so is a 2 block file!

The workaround is the fact that you're usually measuring
in larger (1M+) numbers, and can afford to round up to
the next largest Kilobyte.

>I'm trying to find a program (Windows or Linux based) that will
>calculate block size into KB and/or MB for a couple of our new
>Windows admins to configure disk quotas correctly on linux servers,
>since it's going by block size instead of MB or KB.  Anyone have any
>suggestions?