Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Mar 1995 18:13:17 +0200 (SAT)
From:      John Hay <jhay@mikom.csir.co.za>
To:        davidg@Root.COM
Cc:        current@FreeBSD.org
Subject:   Re: "Text file busy" with program not running anymore?
Message-ID:  <199503051613.SAA19674@dolphin.mikom.csir.co.za>
In-Reply-To: <199503051523.HAA00249@corbin.Root.COM> from "David Greenman" at Mar 5, 95 07:23:16 am

next in thread | previous in thread | raw e-mail | index | archive | help
>    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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199503051613.SAA19674>