From owner-freebsd-stable@FreeBSD.ORG Tue Nov 11 09:22:48 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 479BC1065674 for ; Tue, 11 Nov 2008 09:22:48 +0000 (UTC) (envelope-from wjw@digiware.nl) Received: from mail.digiware.nl (www.tegenbosch28.nl [217.21.251.97]) by mx1.freebsd.org (Postfix) with ESMTP id E6B6A8FC1A for ; Tue, 11 Nov 2008 09:22:47 +0000 (UTC) (envelope-from wjw@digiware.nl) Received: from localhost (localhost.digiware.nl [127.0.0.1]) by mail.digiware.nl (Postfix) with ESMTP id 8011217681; Tue, 11 Nov 2008 10:22:46 +0100 (CET) X-Virus-Scanned: amavisd-new at digiware.nl Received: from mail.digiware.nl ([127.0.0.1]) by localhost (rack1.digiware.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XHOMVNIzLeu4; Tue, 11 Nov 2008 10:22:43 +0100 (CET) Received: from [212.61.27.67] (opteron [212.61.27.67]) by mail.digiware.nl (Postfix) with ESMTP id 56684175DF; Tue, 11 Nov 2008 10:22:43 +0100 (CET) Message-ID: <49194EE2.7060708@IMAP> Date: Tue, 11 Nov 2008 10:22:42 +0100 From: Willem Jan Withagen User-Agent: Thunderbird 2.0.0.17 (X11/20080925) MIME-Version: 1.0 To: Ruben de Groot , Eugene Grosbein , Stephen Clark , FreeBSD Stable References: <49185ABC.6080004@earthlink.net> <20081110162111.GA26951@svzserv.kemerovo.su> <20081111080321.GA94210@ei.bzerk.org> In-Reply-To: <20081111080321.GA94210@ei.bzerk.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: du and df don't agree X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Nov 2008 09:22:48 -0000 Ruben de Groot wrote: > On Mon, Nov 10, 2008 at 11:21:11PM +0700, Eugene Grosbein typed: >> On Mon, Nov 10, 2008 at 11:01:00AM -0500, Stephen Clark wrote: >> >>> Why would du show 630k used by /tmp while df show 161M used >>> by /tmp? >>> >>> I have run fstat /tmp and can't find any files that are using >>> the space that df is claiming as being used. >> You need lsof +aL1 /tmp to see an answer. > > Please don't advise people to install third party apps (lsof) where > base system tools (fstat) can do the job. Why not? This is one of the ways I pick up on all kinds of nice tools I've not heard of before. And it is not like this is swamping the list with of topic questions. You might have redirected the question to questions@ OTOH: The initial question indicated that fstat did not give the info wanted. Your info does not help, because you told him to use fstat, but forgot to mention HOW. So he is in no way any wiser after your answer. --WjW