/var error

Brandon S. Allbery KF8NH allbery at ece.cmu.edu
Wed Jul 9 08:27:50 PDT 2003


On Wed, 2003-07-09 at 15:22, Kirk Strauser wrote:
> At 2003-07-09T08:36:50Z, "Brandon S. Allbery KF8NH" <allbery at ece.cmu.edu> 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 at kf8nh.apk.net
system administrator      [WAY too many hats]        allbery at ece.cmu.edu
electrical and computer engineering                                KF8NH
carnegie mellon university  ["better check the oblivious first" -ke6sls]



More information about the freebsd-stable mailing list