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

Re: [lvm-devel] [RFC][PATCH] Create global is_static() to eliminate from the library init function.

On Wed, Dec 17, 2008 at 06:27:11PM -0500, Dave Wysochanski wrote:
> Very simple / crude method of removing 'is_static' from initialization.

> Why should we require an application tell us whether it is linked
> statically or dynamically to libLVM?  If the application is linked
> statically, but libraries exist and dlopen() calls succeed, why
> do we care if it's statically linked?

is_static was introduced for the initrd and caused some other
functionality not required there to be disabled too.

Then we changed Fedora to support shared libraries in the initrd.
That meant providing an alternative way to deal with the features
that need to be disabled in the initrd instead of overloading

Much of that logic is about suppressing unnecessary messages during
booting and coping with systems that didn't customise lvm.conf for
the initrd.

agk redhat com

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