]> 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)
commitedcda01a1e18af6599275801a8237fe10112ed6f
tree7da7e0d4ce38e319432e032969fe52210884df55
parent40059f18d9b811cf0e25377ccfeb3490b8e96377
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.035965 seconds and 5 git commands to generate.