mirror of
https://github.com/systemd/systemd
synced 2024-09-06 00:41:36 +00:00
udev: set ID_IGNORE_DISKSEQ for md devices
This commit is contained in:
parent
0224c31ea3
commit
9a78ee002f
|
@ -4,6 +4,10 @@
|
|||
ACTION=="remove", ENV{REMOVE_CMD}!="", RUN+="$env{REMOVE_CMD}"
|
||||
ACTION=="remove", GOTO="default_end"
|
||||
|
||||
# The md driver increments diskseq *after* emitting 'change' uevent.
|
||||
# Drop the line below if it is fixed on the kernel side.
|
||||
SUBSYSTEM=="block", KERNEL=="md*", ENV{ID_IGNORE_DISKSEQ}="1"
|
||||
|
||||
SUBSYSTEM=="virtio-ports", KERNEL=="vport*", ATTR{name}=="?*", SYMLINK+="virtio-ports/$attr{name}"
|
||||
|
||||
# select "system RTC" or just use the first one
|
||||
|
|
Loading…
Reference in a new issue