[X-Unix] re: quotas - My math stinks!

Charles Howse chowse at charter.net
Thu Jan 8 18:23:15 PST 2009


I understand what you're saying, but SHOW ME THE MATH that proves it,  
cause I can't make it work.
du says 2341624 1k blocks.  2341624 / 1024 / 1000 = 2.2867421875.   
Close enough to 2.2G for me.
quota says 1040588 / 1024 / 1000 = 1.01619921875.  Not even close!
If we use 1000 instead of 1024, then it comes to 1.040588 vs 2.341624.
THEY CAN'T BOTH BE RIGHT, REGARDLESS OF WHETHER THEY'RE USING 1024 OR  
1000.

Pardon my shouting, emphasis only.  :)

On Jan 8, 2009, at 6:31 PM, Eric F Crist wrote:

> 1024 is how data is figured. Sometimes, gigs are 1000 megs, which  
> are almost always 1024 K
> ------Original Message------
> From: Charles Howse
> Sender: x-unix-bounces at listserver.themacintoshguy.com
> To: Eric Crist
> To: A place to discuss Mac OS X from the perspective of the command  
> line.
> ReplyTo: A place to discuss Mac OS X from the perspective of the  
> command  line.
> Sent: Jan 8, 2009 18:05
> Subject: Re: [X-Unix] re: quotas - My math stinks!
>
>
> On Jan 8, 2009, at 3:57 PM, Eric F Crist wrote:
>
>> Math error. 1024k in a Meg, 1024M in a Gig....
>
> I'm wondering...
> 2000000k / 1024 = 1953.125 M, 1.953125 G which is not equal to 2.2GB.
>
> Doesn't work out.  How did you figure it?
>
> --
> How I make Great Barbecue -
> http://bubbabbq.homeunix.net/bbq.html
>
>
>
> _______________________________________________
> X-Unix mailing list
> X-Unix at listserver.themacintoshguy.com
> http://listserver.themacintoshguy.com/mailman/listinfo/x-unix
>
>
> ---
> Eric F Crist
> Secure Computing Networks
> _______________________________________________
> X-Unix mailing list
> X-Unix at listserver.themacintoshguy.com
> http://listserver.themacintoshguy.com/mailman/listinfo/x-unix

--
Bubba's Funny Stuff -
http://bubbabbq.homeunix.net/humor.html





More information about the X-Unix mailing list