]> sourceware.org Git - lvm2.git/commit
Obtain device list from udev by default if LVM2 is compiled with udev support.
authorPeter Rajnoha <prajnoha@redhat.com>
Fri, 22 Apr 2011 12:05:32 +0000 (12:05 +0000)
committerPeter Rajnoha <prajnoha@redhat.com>
Fri, 22 Apr 2011 12:05:32 +0000 (12:05 +0000)
commit79bed56a52349edec0963560c16de3869ff5040a
tree7da7e0d4ce38e319432e032969fe52210884df55
parent87edad13eab5b1667120cbde3c0c8e34e6fbbfcb
Obtain device list from udev by default if LVM2 is compiled with udev support.

Also, add a new 'obtain_device_list_from_udev' setting to lvm.conf with which
we can turn this feature on or off if needed.

If set, the cache of block device nodes with all associated symlinks
will be constructed out of the existing udev database content.
This avoids using and opening any inapplicable non-block devices or
subdirectories found in the device directory. This setting is applied
to udev-managed device directory only, other directories will be scanned
fully. LVM2 needs to be compiled with udev support for this setting to
take effect. N.B. Any device node or symlink not managed by udev in
udev directory will be ignored with this setting on.
WHATS_NEW
doc/example.conf.in
lib/commands/toolcontext.c
lib/config/defaults.h
lib/device/dev-cache.c
lib/device/dev-cache.h
lib/filters/filter-persistent.c
lib/misc/lvm-globals.c
lib/misc/lvm-globals.h
tools/lvmcmdline.c
This page took 0.041634 seconds and 5 git commands to generate.