+SUBSYSTEM=="block", KERNEL!="ram*|loop*", TAG="systemd"
+
+# DM finds it funny to create additional device nodes, we need to
+merge them here, so that we recognize identical devices.
+SUBSYSTEM=="block", ENV{DM_NAME}!="", ENV{SYSTEMD_ALIAS}="/dev/mapper/$env{DM_NAME}"