From owner-freebsd-questions Fri Jan 25 17:53:14 2002 Delivered-To: freebsd-questions@freebsd.org Received: from filer4.isc.rit.edu (filer4.isc.rit.edu [129.21.2.228]) by hub.freebsd.org (Postfix) with ESMTP id 6DE9237B404 for ; Fri, 25 Jan 2002 17:53:11 -0800 (PST) Received: from there ("port 2529"@[129.21.149.81]) by osfmail.rit.edu (PMDF V6.0-24 #36986) with SMTP id <0GQI0028XVW8VR@osfmail.rit.edu> for questions@freebsd.org; Fri, 25 Jan 2002 20:52:56 -0500 (EST) Date: Fri, 25 Jan 2002 20:52:58 -0500 From: Alex Ranaldi Subject: unlinking open files To: questions@freebsd.org Message-id: <0GQI0028YVW8VR@osfmail.rit.edu> MIME-version: 1.0 X-Mailer: KMail [version 1.3] Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7BIT Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello all, From what I understand, if a file is open and deleted by the user (ie. an apache log) problems will arise. For example, du and df will not display the same value, as the kernel cannot free an open file. Even killing the process using the file (in this case, Apache) will not help. Only a reboot seems to solve the problem. I'm new to FreeBSD & Unix in general, but I was wondering why the user is not warned before deleting a file that is in use. This seems like a rather trivial thing to do, although I'm probably wrong. Any insight into this would be appreciated. Thanks, Alex Ranaldi axr7993@rit.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message