Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Jan 1998 23:39:56 +0100 (MET)
From:      Wolfgang Helbig <helbig@Informatik.BA-Stuttgart.DE>
To:        pb@fasterix.freenix.org (Pierre Beyssac)
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: funny ETXTBSY problem
Message-ID:  <199801062239.XAA18593@rvc1.informatik.ba-stuttgart.de>
In-Reply-To: <19980106212739.HR12419@@> from Pierre Beyssac at "Jan 6, 98 09:27:39 pm"

next in thread | previous 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.

With a kernel from 24 December this problem does not show up.

Wolfgang



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