summaryrefslogtreecommitdiff
path: root/rules/rules.d/60-persistent-storage-tape.rules
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2012-01-01 04:21:15 +0100
committerKay Sievers <kay.sievers@vrfy.org>2012-01-01 04:21:15 +0100
commit220893b3cbdbf8932f95c44811b169a8f0d33939 (patch)
tree540deaec74df773c5d7973dc3b3bb3d734dc834b /rules/rules.d/60-persistent-storage-tape.rules
parenteed0832780382298f5df26143a8271f9a4328a9f (diff)
remove mknod() logic and rely on 'devtmpfs'
Diffstat (limited to 'rules/rules.d/60-persistent-storage-tape.rules')
-rw-r--r--rules/rules.d/60-persistent-storage-tape.rules2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules/rules.d/60-persistent-storage-tape.rules b/rules/rules.d/60-persistent-storage-tape.rules
index b1a64cee12..f2eabd92a8 100644
--- a/rules/rules.d/60-persistent-storage-tape.rules
+++ b/rules/rules.d/60-persistent-storage-tape.rules
@@ -5,7 +5,7 @@
ACTION=="remove", GOTO="persistent_storage_tape_end"
# type 8 devices are "Medium Changers"
-SUBSYSTEM=="scsi_generic", SUBSYSTEMS=="scsi", ATTRS{type}=="8", IMPORT{program}="scsi_id --sg-version=3 --export --whitelisted -d $tempnode", \
+SUBSYSTEM=="scsi_generic", SUBSYSTEMS=="scsi", ATTRS{type}=="8", IMPORT{program}="scsi_id --sg-version=3 --export --whitelisted -d $devnode", \
SYMLINK+="tape/by-id/scsi-$env{ID_SERIAL}"
SUBSYSTEM!="scsi_tape", GOTO="persistent_storage_tape_end"