Skip to content

Commit

Permalink
feat: rebrand to yatm
Browse files Browse the repository at this point in the history
  • Loading branch information
崔竞宁 committed Sep 26, 2023
1 parent a578244 commit 1055192
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 6 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# YATM aka Yet Another Tape Manager

YATM is a first-of-its-kind open-source tape manager for LTO tape via LTFS tape format.

## Install

> WIP
4 changes: 2 additions & 2 deletions build_backend.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ set -ex;
CURDIR=$(cd $(dirname $0); pwd);
cd ${CURDIR};

go build -o ./output/httpd ./cmd/tape-httpd;
go build -o ./output/lto-info ./cmd/lto-info;
go build -o ./output/yatm-httpd ./cmd/httpd;
go build -o ./output/yatm-lto-info ./cmd/lto-info;
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
[Unit]
Description=Tape Writer Service
Description=YATM Service
Documentation=https://github.com/samuelncui/yatm/
After=network.target

[Service]
User=root
Type=simple
WorkingDirectory=/opt/yatm
ExecStart=/opt/yatm/httpd
ExecStart=/opt/yatm/yatm-httpd
Restart=always
RestartSec=15
StartLimitInterval=0
Expand Down
2 changes: 1 addition & 1 deletion frontend/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Tape Writer</title>
<title>YATM - Yet Another Tape Manager</title>
<script type="text/javascript">
window.apiBase = "%%API_BASE%%";
</script>
Expand Down
2 changes: 1 addition & 1 deletion scripts/readinfo
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
set -ex;

# SG_DEVICE=`sg_map | grep ${DEVICE} | awk '{print $1}'`
BARCODE=`./lto-info -f /dev/nst0 | grep 'Barcode' | awk '{print $3}'`
BARCODE=`./yatm-lto-info -f /dev/nst0 | grep 'Barcode' | awk '{print $3}'`
echo "{\"barcode\": \"$BARCODE\"}" > $OUT
sleep 3

0 comments on commit 1055192

Please sign in to comment.