diff options
author | Justin Gottula <[email protected]> | 2021-06-29 18:52:33 -0700 |
---|---|---|
committer | Tony Hutter <[email protected]> | 2021-09-14 12:23:10 -0700 |
commit | 0cb122941e1a53d6e2c44886d26ae0dc68573994 (patch) | |
tree | 1ed8ee6e9ce8beef2f38c9e8bd310ff500d79f04 /udev | |
parent | c20ba9bd7a1e349a143660c5f040523d71a41e88 (diff) |
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 <[email protected]>
Reviewed-by: Pavel Zakharov <[email protected]>
Signed-off-by: Justin Gottula <[email protected]>
Closes #12302
Diffstat (limited to 'udev')
-rw-r--r-- | udev/rules.d/60-zvol.rules.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/udev/rules.d/60-zvol.rules.in b/udev/rules.d/60-zvol.rules.in index 4447a2538..5e1829029 100644 --- a/udev/rules.d/60-zvol.rules.in +++ b/udev/rules.d/60-zvol.rules.in @@ -3,4 +3,4 @@ # persistent disk links: /dev/zvol/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" |