From owner-freebsd-current Sun Mar 5 12:21:46 1995 Return-Path: current-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id MAA26940 for current-outgoing; Sun, 5 Mar 1995 12:21:46 -0800 Received: from grunt.grondar.za (grunt.grondar.za [196.7.18.129]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id MAA26919 for ; Sun, 5 Mar 1995 12:21:27 -0800 Received: from localhost (localhost [127.0.0.1]) by grunt.grondar.za (8.6.10/8.6.9) with SMTP id WAA07809; Sun, 5 Mar 1995 22:20:23 +0200 Message-Id: <199503052020.WAA07809@grunt.grondar.za> X-Authentication-Warning: grunt.grondar.za: Host localhost didn't use HELO protocol To: Poul-Henning Kamp cc: davidg@Root.COM, jhay@mikom.csir.co.za, current@FreeBSD.org Subject: Re: "Text file busy" with program not running anymore? Date: Sun, 05 Mar 1995 22:20:23 +0200 From: Mark Murray 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 replacede > 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. This smells like trouble to me. What happens during a "cd /usr/src; make all; make install"? What will happen to the open shared libraries? In the last couple of days I get panics at the library install phase of make world (sure it may be something else, but I am as suspicious as hell). > Wouldn't the right thing be to flush it if it is opened for write ? Again - what happens to shared libraries? -- Mark Murray 46 Harvey Rd, Claremont, Cape Town 7700, South Africa +27 21 61-3768 GMT+0200