Re: differences of disk usage between du and quota binaries
On Fri, 6 Feb 2009 20:12:56 + RW wrote: > On Fri, 6 Feb 2009 20:13:17 +0100 > Nicolas Letellier wrote: > > > Hello. > > > > I use FreeBSD 6.3. I set quota to my fs. > > But, when I print disk usage with du -sh, I have: > > > >.. > > > > Why this difference? (633M against 648264) > > > > Try dividing 648264 by 1024. Ok. Thanks a lot for your response. Regards. -- -Nicolas. ___ 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"
Re: differences of disk usage between du and quota binaries
On Fri, 6 Feb 2009 20:13:17 +0100 Nicolas Letellier wrote: > Hello. > > I use FreeBSD 6.3. I set quota to my fs. > But, when I print disk usage with du -sh, I have: > >.. > > Why this difference? (633M against 648264) > Try dividing 648264 by 1024. ___ 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"
Re: differences of disk usage between du and quota binaries
On Fri, Feb 6, 2009 at 2:33 PM, Glen Barber wrote: > On Fri, Feb 6, 2009 at 2:13 PM, Nicolas Letellier > 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 >> 633Mfolder >> >> 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 70 702963 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"
Re: differences of disk usage between du and quota binaries
On Fri, Feb 6, 2009 at 2:13 PM, Nicolas Letellier 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 > 633Mfolder > > 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 70 702963 0 0 > > > Why this difference? (633M against 648264) > Because 633Mb is 648264 (roughly) bytes. (648264 / 1024) Regards, -- 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"
differences of disk usage between du and quota binaries
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 633Mfolder 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 70 702963 0 0 Why this difference? (633M against 648264) Regards, -- -Nicolas. ___ 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"