From owner-freebsd-current Sun Mar 5 02:07:58 1995 Return-Path: current-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id CAA01727 for current-outgoing; Sun, 5 Mar 1995 02:07:58 -0800 Received: from mail.rwth-aachen.de (mail.rz.RWTH-Aachen.DE [137.226.144.9]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id CAA01720 for ; Sun, 5 Mar 1995 02:07:54 -0800 Received: from gilberto.physik.rwth-aachen.de by mail.rwth-aachen.de (PMDF V4.3-10 #7297) id <01HNRWGZ8Q9C0005ML@mail.rwth-aachen.de>; Sun, 05 Mar 1995 11:08:30 +0100 Received: (from kuku@localhost) by gilberto.physik.rwth-aachen.de (8.6.8/8.6.9) id LAA18159; Sun, 5 Mar 1995 11:13:46 +0100 Date: Sun, 05 Mar 1995 11:13:45 +0100 (MET) From: Christoph Kukulies Subject: Re: "Text file busy" with program not running anymore? In-reply-to: <199503050902.LAA18774@dolphin.mikom.csir.co.za> from "John Hay" at Mar 5, 95 11:02:20 am To: jhay@mikom.csir.co.za (John Hay) Cc: freebsd-current@freefall.cdrom.com (user alias) Reply-to: kuku@gilberto.physik.rwth-aachen.de Reply-to: Christoph Kukulies Message-id: <199503051013.LAA18159@gilberto.physik.rwth-aachen.de> X-Mailer: ELM [version 2.4 PL23] Content-type: text Content-transfer-encoding: 7BIT Content-length: 1163 Sender: current-owner@FreeBSD.org Precedence: bulk > > Hi, > > I am running FreeBSD-current with a kernel of this morning, if this is > relevant. I have compiled a program, copied it with cp to another directory > and executed it from there. Then I changed the source, compiled it again and > when I tried to copy it, I got the "cp: /users/jhay/bin/u2d: Text file busy" > message. But the program is not running anymore. I have waited a few minutes, > thinking that there is some cache that have to timeout, but it did not help. I can confirm this. Have seen it too when I wanted to replace an old version of Xaccel with a newer one from a tar archive. After killing the X server I still got a "text file busy" message and only got around this by deleting the binary. > > Now it isn't the end of the world for me, I can just delete the file before > I copy the new one or use install. > > I would just like to know if this is expected behaviour or not? > > -- > John Hay -- jhay@mikom.csir.co.za > --Chris Christoph P. U. Kukulies kuku@gil.physik.rwth-aachen.de FreeBSD blues 2.1.0-Development FreeBSD 2.1.0-Development #0: Sun Feb 26 20:27:39 1995 root@blues:/usr/src/sys/compile/BLUESGUS i386