[Fwd: Re: [LFS Trac] #2111: Adding PACO to LFS]
Bruce Dubbs
bruce.dubbs at gmail.com
Mon Dec 3 00:51:26 MST 2007
Alexander E. Patrakov wrote:
> Just a data point: I was able to upgrade glibc "live" on LFS LiveCD
> 6.2-5 from 2.3.6 to 2.7 by building it in /dev/shm "by the book" and
> installing it with the following commands:
>
> make install_root=/dev/shm/glibc-install
> cd /dev/shm/glibc-install
> tar -cpf - . | tar -C / -xUpvf -
That is very interesting. I'm curious though why a simple
cp -af . /
doesn't work. My understanding is that a file is maintained in memory
while in use, even if the file system overwrites what is on the disk.
It only deletes the file completely when the last process using the file
releases the file or terminates.
This also leads to the question about what happens to /sbin/init. I
would think that even with an in place update of glibc, the old
libraries would still be used ( linux-gate.so.1, libc.so.6, and
/lib/ld-linux.so.2).
-- Bruce
More information about the lfs-dev
mailing list