>On Wed, 16 Oct 2013 22:52:00 -0500
>Bruce Dubbs <[email protected]> wrote:
>
> alex lupu wrote:
> > Not pretty.  Apparently, a sizable dead space waiting to be
> > reclaimed.
> 
> Actually, the files needed are the .so and .so.0 links and, of
> course, the file they point to.  The .so file is what the linker
> looks for and the loader looks for the .so.0 file.  You can delete
> the rest.

Isn't it that the run-time linker uses whatever *.so was pointing to at
build time?

As for deleting, perhaps a script is in order. The script would collect
all the *.so links, dereference the chain they point to and delete the
rest. Some constrains should be in order however, so maybe the script
should delete all files that begin with the "*.so" part of *.so.* and
are not being pointed to.

Also, one may create a second script that goes through all the
executables in */bin and collects the libraries used for run-time
linking. These would then be exempt from deletion by the first script.

This is all still reasonably risky, ofcourse.

-- 
You don't need an AI for a robot uprising.
Humans will do just fine.

Attachment: signature.asc
Description: PGP signature

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to