Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Jan 1998 21:27:39 +0100
From:      pb@fasterix.freenix.org (Pierre Beyssac)
To:        freebsd-current@freebsd.org
Subject:   funny ETXTBSY problem
Message-ID:  <19980106212739.HR12419@@>

next in thread | raw e-mail | index | archive | help
I just noticed the following problem: you can't copy over an
executable after it has been run once since boot time.

This is fairly easy to reproduce:

$ cp /bin/sh /tmp
$ echo echo hello there | /tmp/sh
hello there
$ cp /bin/sh /tmp
cp: /tmp/sh: Text file busy

I noticed this after applying the patches John Dyson committed
today but that's apparently not where the problem comes from, as
this works with yesterday's kernel too... I can't say if it
works with a kernel older than last 20 December.
-- 
Pierre Beyssac	      pb@fasterix.frmug.org pb@fasterix.freenix.org
{Free,Net,Open}BSD, Linux : il y a moins bien, mais c'est plus cher
    Free domains: http://www.eu.org/ or mail dns-manager@EU.org



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