HomeFreeBSD

Udev rules: replace deprecated $tempnode with $devnode

Description

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

Details

Provenance
Justin Gottula <justin@jgottula.com>Authored on Jun 30 2021, 1:52 AM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Jul 2 2021, 8:09 PM
Parents
rGa5398f8782eb: Udev rules: use non-ancient comma syntax
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rG17c794e7b072: Udev rules: replace deprecated $tempnode with $devnode (authored by Justin Gottula <justin@jgottula.com>).Jul 2 2021, 8:09 PM