mirror of
https://github.com/AuxXxilium/eudev.git
synced 2025-02-24 03:39:39 +07:00
units: dm is an awful piece of work
This commit is contained in:
parent
da78e1b444
commit
7c9c5d0eb1
@ -12,6 +12,10 @@ KERNEL=="ttyS*", TAG="systemd"
|
||||
|
||||
SUBSYSTEM=="block", 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}"
|
||||
|
||||
# We need a hardware independent way to identify network devices. We
|
||||
# use the /sys/subsystem path for this. Current vanilla kernels don't
|
||||
# actually support that hierarchy right now, however upcoming kernels
|
||||
|
Loading…
Reference in New Issue
Block a user