Gentoo Archives: gentoo-user

From: Dan Farrell <dan@×××××××××.cx>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Gentoo update
Date: Mon, 04 Jun 2007 22:24:37
Message-Id: 20070604171740.341ecc34@pascal.spore.ath.cx
In Reply to: Re: [gentoo-user] Gentoo update by Alan McKinnon
1 On Mon, 4 Jun 2007 10:12:42 +0200
2 Alan McKinnon <alan@××××××××××××××××.za> wrote:
3
4 > On Sunday 03 June 2007, Benjamin Graf wrote:
5 > > Hi,
6 > > I would like to know if there is a danger if I use a program during
7 > > its updating (when I run emerge -uD world for example).
8 >
9 > For the most part, no danger.
10 >
11 > A running program will have certain files open and accesses them
12 > through it's inode on-disk, not the file name. When the file is
13 > replaced during an update, you get a whole new file with a different
14 > inode, and the original is only replaced when the last program using
15 > it closes the file.
16 >
17 > Occasionally (very) it does go wrong, then you simply restart the
18 > program. You are highly unlikely to break anything.
19 >
20 > alan
21 >
22 >
23 Quite true, but the program might have to be rebuilt if the
24 dependancies change, before it can be conviced to run again. That is,
25 if you plan to use them while they're being updated, better have them
26 running so updates to the things they need don't effect them.
27 --
28 gentoo-user@g.o mailing list