View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000708 | file | General | public | 2026-01-09 18:04 | 2026-01-10 15:45 |
| Reporter | dmitrybrant | Assigned To | christos | ||
| Priority | normal | Severity | feature | Reproducibility | always |
| Status | resolved | Resolution | fixed | ||
| Fixed in Version | HEAD | ||||
| Summary | 0000708: Feature request: legacy tape backups | ||||
| Description | Hello! I specialize in recovery of data from old tape cartridges, and I've got a number of legacy tape formats that could be added to file(1). Please see the attached magic file, which I've been using myself to identify various tape dumps that I've retrieved over time. Hopefully you can find them useful! | ||||
| Tags | No tags attached. | ||||
|
|
tapebackup_magic (854 bytes)
#------------------------------------------------------------------------------ # Dmitry Brant, 2026 # tapebackup: file(1) magic for different tape backup formats # QIC-80 tapes # https://www.qic.org/html/standards/8x.x/qic80n.pdf 0 string VTBL QIC-80 tape volume header >8 string/44 x \b, Volume label: %s 0 lelong 0xaa55aa55 >4 lelong 0x00000002 Colorado tape backup >146 string/88 x \b, Volume label: %s 56 string \<\<NoVaStOr\>\> NovaStor tape backup 0 lelong 0xdddddddd >512 lelong 0xabbaabba ArcServe tape backup # IBM AS/400 # https://www.ibm.com/docs/en/i/7.4.0?topic=ssw_ibm_i_74/cl/savlib.html 0 belong 0xffffffff >4 belong 0xd8e2d9c4 AS/400 SAVLIB backup 0 lelong 0x3a3a3a3a >12 lelong 0x3a3a3a20 TXPLUS tape backup 0 lelong 0x55aa0004 Mountain FileSafe tape backup >93 string x \b, Volume label: %s |
|
|
The Colorado pattern prints a malformed message for any file that starts 55 aa 55 aa, does not continue with 02 00 00 00, and is at least 146 bytes in size. Its "Volume label" line should probably start with ">>", instead of just ">". |
|
|
Ah, good catch! That volume label line should indeed start with `>>`. tapebackup_magic-2 (855 bytes)
#------------------------------------------------------------------------------ # Dmitry Brant, 2026 # tapebackup: file(1) magic for different tape backup formats # QIC-80 tapes # https://www.qic.org/html/standards/8x.x/qic80n.pdf 0 string VTBL QIC-80 tape volume header >8 string/44 x \b, Volume label: %s 0 lelong 0xaa55aa55 >4 lelong 0x00000002 Colorado tape backup >>146 string/88 x \b, Volume label: %s 56 string \<\<NoVaStOr\>\> NovaStor tape backup 0 lelong 0xdddddddd >512 lelong 0xabbaabba ArcServe tape backup # IBM AS/400 # https://www.ibm.com/docs/en/i/7.4.0?topic=ssw_ibm_i_74/cl/savlib.html 0 belong 0xffffffff >4 belong 0xd8e2d9c4 AS/400 SAVLIB backup 0 lelong 0x3a3a3a3a >12 lelong 0x3a3a3a20 TXPLUS tape backup 0 lelong 0x55aa0004 Mountain FileSafe tape backup >93 string x \b, Volume label: %s |
|
|
Added, thank you. |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2026-01-09 18:04 | dmitrybrant | New Issue | |
| 2026-01-09 18:04 | dmitrybrant | File Added: tapebackup_magic | |
| 2026-01-10 14:25 | jsummers | Note Added: 0004327 | |
| 2026-01-10 15:08 | dmitrybrant | Note Added: 0004328 | |
| 2026-01-10 15:08 | dmitrybrant | File Added: tapebackup_magic-2 | |
| 2026-01-10 15:45 | christos | Assigned To | => christos |
| 2026-01-10 15:45 | christos | Status | new => assigned |
| 2026-01-10 15:45 | christos | Status | assigned => resolved |
| 2026-01-10 15:45 | christos | Resolution | open => fixed |
| 2026-01-10 15:45 | christos | Fixed in Version | => HEAD |
| 2026-01-10 15:45 | christos | Note Added: 0004329 | |
| 2026-01-10 15:45 | christos | Note Edited: 0004329 |