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
|
||||
cmd=mtx-load
|
||||
;;
|
||||
--mtx-status)
|
||||
shift
|
||||
cmd=mtx-status
|
||||
;;
|
||||
--mtx-transfer)
|
||||
shift
|
||||
slots=${*}
|
||||
@@ -2262,6 +2266,10 @@ case $cmd in
|
||||
mtx_load "${slot_source}" "${drive}"
|
||||
return $?
|
||||
;;
|
||||
mtx-status)
|
||||
mtx_status "${slot_source}" "${slot_target}"
|
||||
return $?
|
||||
;;
|
||||
mtx-transfer)
|
||||
mtx_transfer "${slot_source}" "${slot_target}"
|
||||
return $?
|
||||
|
||||
Reference in New Issue
Block a user