Re: linux-kernel-digest V1 #2472

pacman (pacman-kernel@cqc.com)
Tue, 1 Sep 1998 02:06:11 -0500 (EST)


Jeff Garzik writes the following:
>
>> From: Janos Farkas <Janos.Farkas-nouce/priv-#nSPgdV0jSEF1Onu073atl/SKi/W@lk9qw.mail.eon.ml.org>
>> are cases when the inodes cannot get cleaned up before a reboot... For
>> example, if libc.so is upgraded, and the old one is removed. When done
>> correctly, no harm is done, but programs, and especially init, if linked
>> dynamically (and keept running), will hold on to the inode until
>> infinity...
>
>I think init is linked static on many systems for this reason.

Also, have a look at sysvinit-2.74's ability to re-exec itself. Just say
telinit U and the new init loads up. This gives you the ability to eliminate
all references to your old libc (or your old init executable, when upgrading
init) before shutting down (and also makes the shutdown unnecessary if all
you are doing is upgrading init, since the new one will seamlessly take over
where the old one left off)

-- 
Alan Curry

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html