Re: How to replace an executing file on an embedded system?

From: Al Viro
Date: Wed Jun 01 2005 - 19:13:07 EST


On Thu, Jun 02, 2005 at 01:37:17AM +0200, Bernd Eckenfels wrote:
> In article <Pine.LNX.4.61.0506011828300.5925@xxxxxxxxxxxxxxxxxx> you wrote:
> > What am I missing? How am I supposed to replace files that
> > are being executed?
>
> The problem is that a unlinked file which is open will be removed from the
> filesystem on close. I think this is not new. You can make init reexecute
> itself (telinit u)

With sysvinit you can, that is. And no, this behaviour of umount is nothing
new, of course - wrongbot is just being its usual self.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/