1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-10-28 11:55:55 +03:00
lvm2/lib/activate
Peter Rajnoha 418663b61c 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)
2011-06-17 14:50:53 +00:00
..
activate.c Remove unused internal flag ACTIVATE_EXCL from the code 2011-06-17 14:30:58 +00:00
activate.h Add lv_activate_opts structure 2011-06-17 14:14:19 +00:00
dev_manager.c Disable udev fallback by default and add activation/udev_fallback to lvm.conf. 2011-06-17 14:50:53 +00:00
dev_manager.h Add lv_activate_opts structure 2011-06-17 14:14:19 +00:00
fs.c Fix some unmatching sign comparation gcc warnings 2011-04-08 14:40:18 +00:00
fs.h Synchronize with udev for lv_info 2011-02-03 01:16:35 +00:00
targets.h Use UUIDs instead of names while processing event handlers. 2010-04-14 13:01:38 +00:00