|
|
|
@ -38,7 +38,7 @@ case "${1}" in
|
|
|
|
|
echo "${DEV_HCIL} ${DEV_PORT} ${BLOCKDEV} ${DEVICE_SZ} ${DEVICE_ID}" >> /tmp/scsictl
|
|
|
|
|
done
|
|
|
|
|
sort -n -o /tmp/scsictl /tmp/scsictl
|
|
|
|
|
column -N H:C:I:L,PORT,DEV,SIZE,NAME -t -R2,4 -o" " /tmp/scsictl
|
|
|
|
|
column -N H:C:I:L,PORT,DEV,SIZE,NAME -t -R1,4 -o" " /tmp/scsictl
|
|
|
|
|
rm /tmp/scsictl
|
|
|
|
|
;;
|
|
|
|
|
*) echo "Unknown verb '${1}' -- expected delete, list, or rescan"; exit 1;;
|
|
|
|
|