diff options
author | Bastian Krause <bst@pengutronix.de> | 2019-02-25 15:19:04 +0100 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2019-02-26 09:13:26 +0100 |
commit | b75c569572f52a1be5227e44dd0d14f9526bba0f (patch) | |
tree | f7727128325af5754f572be1f3f20fcc6ff1b471 /rules/lvm2.in | |
parent | 950977129226458337356a9001ed7d3826ca66cd (diff) | |
download | ptxdist-b75c569572f52a1be5227e44dd0d14f9526bba0f.tar.gz ptxdist-b75c569572f52a1be5227e44dd0d14f9526bba0f.tar.xz |
lvm2: enable udev sync if systemd is enabled
udev sync makes sure that the mapping devices in /dev/mapper/ are
symlinks to /dev/dm-X and systemd can now track the device status of the
mapping devices via udev.
Signed-off-by: Bastian Krause <bst@pengutronix.de>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/lvm2.in')
-rw-r--r-- | rules/lvm2.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/rules/lvm2.in b/rules/lvm2.in index b53086d8b..8c75cfda6 100644 --- a/rules/lvm2.in +++ b/rules/lvm2.in @@ -6,6 +6,7 @@ menuconfig LVM2 select GCCLIBS_GCC_S select READLINE select NCURSES + select SYSTEMD if LVM2_SYSTEMD prompt "lvm2 " help LVM2 refers to a new userspace toolset that provide logical volume management @@ -51,4 +52,7 @@ config LVM2_DEVICE_MODE help The effective access mode of the device nodes create by LVM +config LVM2_SYSTEMD + bool + default INITMETHOD_SYSTEMD endif |