feat: add tapes index view

This commit is contained in:
Samuel N Cui
2023-10-03 16:12:44 +08:00
parent 15079aaa50
commit 999b9bf9b2
27 changed files with 1357 additions and 358 deletions

View File

@@ -1,6 +1,8 @@
#!/usr/bin/env bash
set -ex;
SG_DEVICE=`sg_map | grep ${DEVICE} | awk '{print $1}'`
CURDIR=$(cd $(dirname $0); pwd);
SG_DEVICE=`${CURDIR}/get_device`
mkltfs -f -d ${SG_DEVICE} -s ${TAPE_BARCODE} -n ${TAPE_NAME}
sleep 3