tape-admin: enable function mtx-status
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de>
This commit is contained in:
@@ -1478,6 +1478,10 @@ parse_params () {
|
|||||||
shift $count
|
shift $count
|
||||||
cmd=mtx-load
|
cmd=mtx-load
|
||||||
;;
|
;;
|
||||||
|
--mtx-status)
|
||||||
|
shift
|
||||||
|
cmd=mtx-status
|
||||||
|
;;
|
||||||
--mtx-transfer)
|
--mtx-transfer)
|
||||||
shift
|
shift
|
||||||
slots=${*}
|
slots=${*}
|
||||||
@@ -2262,6 +2266,10 @@ case $cmd in
|
|||||||
mtx_load "${slot_source}" "${drive}"
|
mtx_load "${slot_source}" "${drive}"
|
||||||
return $?
|
return $?
|
||||||
;;
|
;;
|
||||||
|
mtx-status)
|
||||||
|
mtx_status "${slot_source}" "${slot_target}"
|
||||||
|
return $?
|
||||||
|
;;
|
||||||
mtx-transfer)
|
mtx-transfer)
|
||||||
mtx_transfer "${slot_source}" "${slot_target}"
|
mtx_transfer "${slot_source}" "${slot_target}"
|
||||||
return $?
|
return $?
|
||||||
|
|||||||
Reference in New Issue
Block a user