differences of disk usage between du and quota binaries
Glen Barber
glen.j.barber at gmail.com
Fri Feb 6 11:33:13 PST 2009
On Fri, Feb 6, 2009 at 2:13 PM, Nicolas Letellier <nicolas at 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:
>
> root at 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,
--
Glen Barber
More information about the freebsd-questions
mailing list