On Fri, Feb 6, 2009 at 2:33 PM, Glen Barber <glen.j.bar...@gmail.com> wrote:
> On Fri, Feb 6, 2009 at 2:13 PM, Nicolas Letellier <nico...@nicoelro.net> 
> wrote:
>> Hello.
>>
>> I use FreeBSD 6.3. I set quota to my fs.
>> But, when I print disk usage with du -sh, I have:
>>
>> r...@domain sites $  du -sh folder
>> 633M    folder
>>
>> But, when I print disk usage with quota -u user, I have:
>>
>> isk quotas for user user (uid 2002):
>>     Filesystem   usage   quota   limit   grace   files   quota   limit   
>> grace
>>           /var  648264  700000  700000            2963       0       0
>>
>>
>> Why this difference? (633M against 648264)
>>
>
> Because 633Mb is 648264 (roughly) bytes.  (648264 / 1024)
>
> Regards,
>
Well, I never really answered the 'why' part of your question -- the
'-h' flag prints 'human readable' output -- ie, in MB instead of
bytes.

-- 
Glen Barber
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to