mirror of
git://sourceware.org/git/lvm2.git
synced 2025-08-02 04:22:02 +03:00
The lvmetad client-side integration. Only active when use_lvmetad = 1 is set in
lvm.conf *and* lvmetad is running.
This commit is contained in:
@ -249,6 +249,7 @@ LVMCONF=${TMP_LVM_SYSTEM_DIR}/lvm.conf
|
||||
'/^[ \t]*filter[ \t]*=/{print ENVIRON["FILTER"];next} \
|
||||
/^[ \t]*scan[ \t]*=/{print "scan = [ \"" DEV "\" ]";next} \
|
||||
/^[ \t]*cache[ \t]*=/{print "cache = \"" CACHE "\"";next} \
|
||||
/^[ \t]*use_lvmetad[ \t]*=/{print "use_lvmetad = 0";next} \
|
||||
/^[ \t]*cache_dir[ \t]*=/{print "cache_dir = \"" CACHE_DIR "\"";next} \
|
||||
{print $0}' > ${LVMCONF}
|
||||
|
||||
|
Reference in New Issue
Block a user