xref: /freebsd/contrib/file/magic/Magdir/tapebackup (revision e949ce9dc0e6fff26e83904f1008b76d36ba0a37)
1*e949ce9dSXin LI#------------------------------------------------------------------------------
2*e949ce9dSXin LI# $File: tapebackup,v 1.1 2026/01/10 15:45:02 christos Exp $
3*e949ce9dSXin LI# Dmitry Brant, 2026
4*e949ce9dSXin LI# tapebackup:  file(1) magic for different tape backup formats
5*e949ce9dSXin LI
6*e949ce9dSXin LI# QIC-80 tapes
7*e949ce9dSXin LI# https://www.qic.org/html/standards/8x.x/qic80n.pdf
8*e949ce9dSXin LI0	string		VTBL			QIC-80 tape volume header
9*e949ce9dSXin LI>8	string/44	x			\b, Volume label: %s
10*e949ce9dSXin LI
11*e949ce9dSXin LI0	lelong		0xaa55aa55
12*e949ce9dSXin LI>4	lelong		0x00000002		Colorado tape backup
13*e949ce9dSXin LI>>146	string/88	x			\b, Volume label: %s
14*e949ce9dSXin LI
15*e949ce9dSXin LI56	string		\<\<NoVaStOr\>\>	NovaStor tape backup
16*e949ce9dSXin LI
17*e949ce9dSXin LI0	lelong		0xdddddddd
18*e949ce9dSXin LI>512	lelong	0xabbaabba			ArcServe tape backup
19*e949ce9dSXin LI
20*e949ce9dSXin LI# IBM AS/400
21*e949ce9dSXin LI# https://www.ibm.com/docs/en/i/7.4.0?topic=ssw_ibm_i_74/cl/savlib.html
22*e949ce9dSXin LI0	belong		0xffffffff
23*e949ce9dSXin LI>4	belong		0xd8e2d9c4		AS/400 SAVLIB backup
24*e949ce9dSXin LI
25*e949ce9dSXin LI0	lelong		0x3a3a3a3a
26*e949ce9dSXin LI>12	lelong		0x3a3a3a20		TXPLUS tape backup
27*e949ce9dSXin LI
28*e949ce9dSXin LI0	lelong		0x55aa0004		Mountain FileSafe tape backup
29*e949ce9dSXin LI>93	string		x			\b, Volume label: %s
30