From owner-freebsd-questions Mon Jul 10 16:56:25 1995 Return-Path: questions-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id QAA26508 for questions-outgoing; Mon, 10 Jul 1995 16:56:25 -0700 Received: from genesis.atrad.adelaide.edu.au (genesis.atrad.adelaide.edu.au [129.127.96.120]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id QAA26502 for ; Mon, 10 Jul 1995 16:56:17 -0700 Received: from msmith@localhost by genesis.atrad.adelaide.edu.au (8.6.9/8.6.9) id JAA09078; Tue, 11 Jul 1995 09:35:11 +0930 From: Michael Smith Message-Id: <199507110005.JAA09078@genesis.atrad.adelaide.edu.au> Subject: Re: file system full for uid 0 -- doesn't update on file delete To: rwatson@sidwell.edu (Robert Watson) Date: Tue, 11 Jul 1995 09:35:10 +0930 (CST) Cc: questions@freebsd.org In-Reply-To: from "Robert Watson" at Jul 10, 95 05:46:04 am Content-Type: text Content-Length: 1744 Sender: questions-owner@freebsd.org Precedence: bulk This should have been asked in 'questions', not 'hackers'. Robert Watson stands accused of saying: > When I came back, I found that the ppp logs in /var/logs had filled my > root partition (6 megs of log files for two days?) and I had a long > series of log messages saying so. I couldn't figure out at first where > my space had gone -- did a du -x, etc, and eventually found the offending > file -- I deleted the ppp.log file -- ppp was still running. while du Did you bother to look at the files first? > My afterthoughts were.. ;). I shoud have killed ppp, as I assume that > the file was being kept open, so the space wasn't being released for some > reason (I'm not familiar with the guts of FreeBSD's file handling.) ppp This is standard Unix behaviour. > resulting in a halt in the installation or not.. Also, since df and du > reported different disk consumption and such, while I'm not suggesting > either individual behavior is wrong, consistenc is very nice. Also I DF tells you how much disk space is allocated/free, du tells you how much space the files in a directory heirachy use. The two are perfectly consistent; you're just not using them properly. A deleted file that is still open still exists on the disk, but not in the directory heirachy. > Robert Watson rwatson@sidwell.edu http://www.sidwell.edu/~rwatson/ -- ]] Mike Smith, Software Engineer msmith@atrad.adelaide.edu.au [[ ]] Genesis Software genesis@atrad.adelaide.edu.au [[ ]] High-speed data acquisition and [[ ]] realtime instrument control (ph/fax) +61-8-267-3039 [[ ]] My car has "demand start" - Terry Lambert [[