mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-27 09:12:44 +00:00
Udev rules: replace deprecated $tempnode with $devnode
The $tempnode substitution is so old that it's not even mentioned in the man page anymore. It is still technically supported by udev, but with plenty of "deprecated" comments surrounding it. The preferred modern equivalent of $tempnode is $devnode (or alternatively, %N). Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Pavel Zakharov <pavel.zakharov@delphix.com> Signed-off-by: Justin Gottula <justin@jgottula.com> Closes #12302
This commit is contained in:
parent
a5398f8782
commit
17c794e7b0
@ -3,4 +3,4 @@
|
|||||||
# persistent disk links: /dev/zvol/dataset_name
|
# persistent disk links: /dev/zvol/dataset_name
|
||||||
# also creates compatibility symlink of /dev/dataset_name
|
# also creates compatibility symlink of /dev/dataset_name
|
||||||
|
|
||||||
KERNEL=="zd*", SUBSYSTEM=="block", ACTION=="add|change", PROGRAM="@udevdir@/zvol_id $tempnode", SYMLINK+="zvol/%c %c"
|
KERNEL=="zd*", SUBSYSTEM=="block", ACTION=="add|change", PROGRAM="@udevdir@/zvol_id $devnode", SYMLINK+="zvol/%c %c"
|
||||||
|
Loading…
Reference in New Issue
Block a user