]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Udev rules: replace deprecated $tempnode with $devnode
authorJustin Gottula <justin@jgottula.com>
Wed, 30 Jun 2021 01:52:33 +0000 (18:52 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 2 Jul 2021 20:09:09 +0000 (13:09 -0700)
commit17c794e7b0723b1f90229771ddf1dc2ac227f224
tree49ce6c3ba7405bd51b33f14c9eec50c521910611
parenta5398f8782ebc22930cfbad846decaeb17570e86
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
udev/rules.d/60-zvol.rules.in