Date: Fri, 6 Feb 2009 14:33:11 -0500 From: Glen Barber <glen.j.barber@gmail.com> To: Nicolas Letellier <nicolas@nicoelro.net> Cc: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: differences of disk usage between du and quota binaries Message-ID: <4ad871310902061133yfe1f69er5a5c33e934a19058@mail.gmail.com> In-Reply-To: <20090206201317.4e0377b7.nicolas@nicoelro.net> References: <20090206201317.4e0377b7.nicolas@nicoelro.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Feb 6, 2009 at 2:13 PM, Nicolas Letellier <nicolas@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@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4ad871310902061133yfe1f69er5a5c33e934a19058>