On Sunday 01 October 2006 7:49 pm, Dennis J Perkins wrote:
> I suppose that if you want to replace glibc without rebuilding the
> system, the safest way would be to do it the same way a package manager
> (RPM or dpkg) would do it.

I.E. replace it atomically with "mv".  Whatever you do, don't truncate and 
overwrite the existing file, or all the executables that currently have it 
mmaped (including init) are likely to segfault as the data changes out from 
under them.  (Deleting the old version just leaves it as a detached inode 
until the applications using it exit, that's fine.  The space doesn't get 
freed up until it's no longer being used, but that's actually what you want.)

Rob
-- 
Never bet against the cheap plastic solution.
_______________________________________________
Clfs-support mailing list
[email protected]
http://lists.cross-lfs.org/cgi-bin/mailman/listinfo/clfs-support

Reply via email to