[lvm-devel] [PATCH] Provide a new --sysinit switch for vgchange and lvchange

Alasdair G Kergon agk at redhat.com
Wed May 5 18:00:08 UTC 2010


On Wed, May 05, 2010 at 03:00:05PM +0200, Peter Rajnoha wrote:
> -	if (ignorelockingfailure() && getenv("LVM_SUPPRESS_LOCKING_FAILURE_MESSAGES"))
> -		suppress_messages = 1;

Can't remove the getenv!

Also add a comment somewhere describing exactly what --sysinit is equivalent to.

Update the man pages to say the argument sets options appropriate for
initscripts and should only be used from there.  

Alasdair




More information about the lvm-devel mailing list