chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad9deee
)
fix output for USB path
author
Kay Sievers
<kay.sievers@suse.de>
Tue, 21 Mar 2006 16:28:47 +0000
(17:28 +0100)
committer
Kay Sievers
<kay.sievers@suse.de>
Tue, 21 Mar 2006 16:28:47 +0000
(17:28 +0100)
extras/path_id
patch
|
blob
|
history
diff --git
a/extras/path_id
b/extras/path_id
index c17fc3cdf0e4aa866c1efb3355fcc8d91df06e8a..aecc40cc9bee2db6baaedf0dc9dfdfbb2619bf25 100644
(file)
--- a/
extras/path_id
+++ b/
extras/path_id
@@
-460,18
+460,20
@@
handle_block () {
d="$d-${rewind}st${mode}"
fi
fi
- echo "ID_PATH=$d"
}
case "$TYPE" in
block)
handle_block
+ echo "ID_PATH=$d"
;;
scsi_tape)
handle_block
+ echo "ID_PATH=$d"
;;
input)
handle_usb $SYSFS$DEVPATH/device
+ echo "ID_PATH=$d"
;;
*)
RESULT=1