From owner-freebsd-stable@FreeBSD.ORG Wed Jul 9 08:27:49 2003 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D787C37B401 for ; Wed, 9 Jul 2003 08:27:49 -0700 (PDT) Received: from ece.cmu.edu (ECE.CMU.EDU [128.2.136.200]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2489B43F75 for ; Wed, 9 Jul 2003 08:27:47 -0700 (PDT) (envelope-from allbery@ece.cmu.edu) Received: from [128.2.136.40] (vnuwtwz5010qe389@PYANFAR.ECE.CMU.EDU [128.2.136.40]) (authenticated) by ece.cmu.edu (8.11.0/8.10.2) with ESMTP id h69FRde02387; Wed, 9 Jul 2003 11:27:39 -0400 (EDT) From: "Brandon S. Allbery KF8NH" To: Kirk Strauser In-Reply-To: <87fzlfhghb.fsf@pooh.honeypot.net> References: <20030709082956.61490.qmail@web42004.mail.yahoo.com> <1057739810.6430.3.camel@pyanfar.ece.cmu.edu> <87fzlfhghb.fsf@pooh.honeypot.net> Content-Type: text/plain Message-Id: <1057764457.1862.4.camel@pyanfar.ece.cmu.edu> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.0 Date: 09 Jul 2003 15:27:38 +0000 Content-Transfer-Encoding: 7bit cc: freebsd-stable@freebsd.org Subject: Re: /var error X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Jul 2003 15:27:50 -0000 On Wed, 2003-07-09 at 15:22, Kirk Strauser wrote: > At 2003-07-09T08:36:50Z, "Brandon S. Allbery KF8NH" writes: > > Install sysutils/lsof and use it to find what program has a deleted file > > open on /var; kill that program, and the space will be reclaimed. > > I see that advice a lot. Is lsof inherently superior to `fstat' in the base > system? fstat (everyone else who has this calls it "fuser", so I didn't even know it was there) doesn't seem to provide much information; lsof gives you enough to have a decent chance of identifying the file in question, which is problematic when it doesn't have a name.... -- brandon s. allbery [os/2][linux][solaris][japh] allbery@kf8nh.apk.net system administrator [WAY too many hats] allbery@ece.cmu.edu electrical and computer engineering KF8NH carnegie mellon university ["better check the oblivious first" -ke6sls]