]> sourceware.org Git - lvm2.git/commit
Disable udev fallback by default and add activation/udev_fallback to lvm.conf.
authorPeter Rajnoha <prajnoha@redhat.com>
Fri, 17 Jun 2011 14:50:53 +0000 (14:50 +0000)
committerPeter Rajnoha <prajnoha@redhat.com>
Fri, 17 Jun 2011 14:50:53 +0000 (14:50 +0000)
commit418663b61c88b7a920ce22c66816204b84f732bb
tree14e346d205d50705dc3dc8fd8a90eceedaab9752
parentbebe60b70c82ed23740726d817219d287a1ebb62
Disable udev fallback by default and add activation/udev_fallback to lvm.conf.

We've used udev fallback code till now to check whether udev
created/removed the entries in /dev correctly and if not,
a repair was done (giving a warning messagea about that).

This patch adds a possibility to enable this additional check
and subsequent fallback only when required (debugging purposes
mostly) and trust udev completely.

So let's disable the fallback code by default and add a new
configuration option "activation/udev_fallback".

(The original code for creating the nodes will still be used
in case the device directory that is set in lvm.conf differs
from the one that udev uses and also when activation/udev_rules
is set to 0 - otherwise we would end up with no nodes/symlinks
at all)
WHATS_NEW
doc/example.conf.in
lib/activate/dev_manager.c
lib/commands/toolcontext.c
lib/commands/toolcontext.h
lib/config/defaults.h
tools/lvmcmdline.c
This page took 0.032692 seconds and 5 git commands to generate.