From owner-freebsd-questions@FreeBSD.ORG Fri Feb 6 19:33:13 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 507DB106564A for ; Fri, 6 Feb 2009 19:33:13 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.188]) by mx1.freebsd.org (Postfix) with ESMTP id D4B1A8FC1B for ; Fri, 6 Feb 2009 19:33:12 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: by fk-out-0910.google.com with SMTP id f40so854064fka.11 for ; Fri, 06 Feb 2009 11:33:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=4MNPPScNZBF9AT57kJKsS0BnBtp27dGxvhx3MeSA+Gs=; b=gD/Fv9pqREtthSMhn6PVktJkxkmybmK1H2aN2FIYcntTkiFjV/1YKOGtpFKEuyBGh1 pJAUWHrwmeR6XmbpfJqIzWjCbl+6VGai+MGcHx4MZpukK3SFQI1peq+Tcng+HsYuqUEi AtBW9ZHDRCgXKg507S2zCB1T+ThDXu4CnEe1E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=Xo69eiRLAcGjYwGyxUPLfMCik46DKQKXIPqZWtfy/Ju0q/tHSQncrmmUMyfv+UI3Iw PIRsDaLOU1EILGU5HrlAygJI4NcHW+vvXQZzipl4OID3WLFDW+nMnFmbAwSuy0cdngKO p4EZE5NCCjtHY/b7WICEQe3Jg7Sj98uI80SXI= MIME-Version: 1.0 Received: by 10.223.108.15 with SMTP id d15mr1816366fap.62.1233948791794; Fri, 06 Feb 2009 11:33:11 -0800 (PST) In-Reply-To: <20090206201317.4e0377b7.nicolas@nicoelro.net> References: <20090206201317.4e0377b7.nicolas@nicoelro.net> Date: Fri, 6 Feb 2009 14:33:11 -0500 Message-ID: <4ad871310902061133yfe1f69er5a5c33e934a19058@mail.gmail.com> From: Glen Barber To: Nicolas Letellier Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: FreeBSD Questions Subject: Re: differences of disk usage between du and quota binaries X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Feb 2009 19:33:13 -0000 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: > > 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