[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Eliminating static binaries (Was: Unwanted RPM dependencies)

On Tue, Jun 05, 2007 at 06:51:46PM -0400, Bernardo Innocenti wrote:
> Patrice Dumas wrote:
> >On Mon, Jun 04, 2007 at 10:52:41PM -0400, Bernardo Innocenti wrote:
> >
> >>- /sbin/ldconfig (yes, even this one!)
> >
> >I am not sure, but wouldn't that be a bit dangerous? What would be the
> >gains?
> Space.  And speed.

Are you sure? For little apps, linking dynamically leads to a loss in
performance in both size and speed. I don't know about ldconfig, though.

> What would be the loss?  A broken environment where only
> ldconfig works, with no shell and no init, is still
> unusable for recovery.  Boot DVDs and USB pens are more
> user friendly and flexible in these cases.

Depends on the hardware, when things were installed from the net it may
be different, but indeed if all the critical commands are not available,
it is not a big deal. In fact busybox seems is linked statically, so in 
fact, if busybox is installed it could be possible to have a working 
recovery environment with everything but ldconfig. However, I am not
sure that booting with busybox init/ shell is that easy.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]