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


-- 
Optimists say the glass is half full,
Pessimists say the glass is half empty,
Developers say wtf is the glass twice as big as it needs to be?

Alan McKinnon
alan at linuxholdings dot co dot za
+27 82, double three seven, one nine three five
-- 
[EMAIL PROTECTED] mailing list

Reply via email to