iankelling.org
/
git
/
automated-distro-installer
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
minor fixes and documentation
[automated-distro-installer]
/
devbyid
diff --git
a/devbyid
b/devbyid
index ecf498817c9664f55b8e38e1a4118de06929c28f..e3443898795c52d5c8569c02e538b8765c23ecf2 100755
(executable)
--- a/
devbyid
+++ b/
devbyid
@@
-3,7
+3,7
@@
# input eg: /dev/sda1 or /dev/sda
# output: /dev/disk/by-id/model+serial, or if no link exists, the same as input
# input eg: /dev/sda1 or /dev/sda
# output: /dev/disk/by-id/model+serial, or if no link exists, the same as input
-short_dev=$1
# i.e.
+short_dev=$1
# devices are identified by model+serial num,
# and wwn. model+serial gives me more info, so use that.
# devices are identified by model+serial num,
# and wwn. model+serial gives me more info, so use that.