From e511c382ee5cb251dce47c101de3a8ca8b08568f Mon Sep 17 00:00:00 2001 From: Ralf Zerres Date: Thu, 22 Nov 2018 16:44:06 +0100 Subject: [PATCH] tape-admin: enable function mtx-status Signed-off-by: Ralf Zerres --- bin/tape-admin | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/bin/tape-admin b/bin/tape-admin index 55a6dd1..bd75eb4 100755 --- a/bin/tape-admin +++ b/bin/tape-admin @@ -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 $?