Re: Updates to /bin/bash

From: Steve Dodd (
Date: Sat May 06 2000 - 12:02:11 EST

[I don't seem to have the start of this thread..]

On Thu, May 04, 2000 at 07:14:12PM -0500, Matthew Vanecek wrote:

> Well, the executable is loaded into memory once started. For the most
> part, you can overwrite the executable (or other file) on the disk, as
> long as you have permissions to do so. [..]

Err, no, the executable is paged in and out as required. Updating a running
executable simply means you must make sure to create a *different* inode
for the new version, instead of scribbling over the existing one, i.e.:

cp /mnt/foo/bar /bin/
rm /bin/bar
mv /bin/ /bin/bar

When the last user of the old version goes away, the inode for it is deleted.
New users see the new version.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

This archive was generated by hypermail 2b29 : Sun May 07 2000 - 21:00:20 EST