From owner-freebsd-current Sun Mar 5 08:13:14 1995 Return-Path: current-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id IAA11218 for current-outgoing; Sun, 5 Mar 1995 08:13:14 -0800 Received: from dolphin.mikom.csir.co.za (dolphin.mikom.csir.co.za [146.64.28.40]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id IAA11204 for ; Sun, 5 Mar 1995 08:13:08 -0800 Received: (from jhay@localhost) by dolphin.mikom.csir.co.za (8.6.9/8.6.6) id SAA19674; Sun, 5 Mar 1995 18:13:17 +0200 From: John Hay Message-Id: <199503051613.SAA19674@dolphin.mikom.csir.co.za> Subject: Re: "Text file busy" with program not running anymore? To: davidg@Root.COM Date: Sun, 5 Mar 1995 18:13:17 +0200 (SAT) Cc: current@FreeBSD.org In-Reply-To: <199503051523.HAA00249@corbin.Root.COM> from "David Greenman" at Mar 5, 95 07:23:16 am X-Mailer: ELM [version 2.4 PL23] Content-Type: text Content-Length: 768 Sender: current-owner@FreeBSD.org Precedence: bulk > It is expected. Whenever a file is executed, the VTEXT flag is set on the > vnode to indicate that someone is executing it. The flag remains set until > there are no references to it and it is no longer cached. In your case, it > lingered in the cache. It never 'times out' - the cached vnodes are replaced > with other cached vnodes - so it will only get out of the cache if there is > activity on the system to flush it out. > It's conceivable that there could be a count instead of a flag...but this > complicates things quite a bit and I don't see the point in it. Just rm the > file first. > Does this mean that the space allocated on disk to those programs will not be freed until you unmount that disk or reboot? -- John Hay -- jhay@mikom.csir.co.za