On Mon, 4 Jun 2007 10:12:42 +0200
Alan McKinnon <[EMAIL PROTECTED]> wrote:

> On Sunday 03 June 2007, Benjamin Graf wrote:
> > Hi,
> > I would like to know if there is a danger if I use a program during
> > its updating (when I run emerge -uD world for example).
> 
> For the most part, no danger.
> 
> A running program will have certain files open and accesses them
> through it's inode on-disk, not the file name. When the file is
> replaced during an update, you get a whole new file with a different
> inode, and the original is only replaced when the last program using
> it closes the file. 
> 
> Occasionally (very) it does go wrong, then you simply restart the 
> program. You are highly unlikely to break anything.
> 
> alan
> 
> 
Quite true, but the program might have to be rebuilt if the
dependancies change, before it can be conviced to run again.  That is,
if you plan to use them while they're being updated, better have them
running so updates to the things they need don't effect them.  
-- 
[EMAIL PROTECTED] mailing list

Reply via email to