mirror of
https://github.com/samuelncui/yatm.git
synced 2026-01-08 14:21:19 +00:00
feat: add tapes index view
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user