From 9e6e28bb8ea80a87c915ac9a107212b87cf7cab7 Mon Sep 17 00:00:00 2001 From: "Kenneth D. Merry" Date: Tue, 31 Oct 2023 15:20:36 -0400 Subject: [PATCH] Add IBM TS1170 density codes and specs. These were obtained from a drive, but they agree with the IBM documentation. The bpi/bpmm values are the same as TS1160, but the number of tracks is much larger (18944 tracks vs 8704 for TS1160). The tapes are also longer, 1337m total. (According to the MAM on a sample JF tape. I don't have a JE tape handy to compare.) The end result is a 50TB raw capacity (150TB compressed) for TS1170 with a JF cartridge vs 20TB raw capacity (60TB compressed) for TS1160 with a JE cartridge. lib/libmt/mtlib.c: Add the TS1170 density codes to the denstiy table in libmt. usr.bin/mt/mt.1: Add the TS1170 density codes and specs to the density table in the mt(1) man page. As usual for TS drives, there is an encrypted and non-encrypted density code (0x79 and 0x59 respectively). Sponsored by: Spectra Logic (cherry picked from commit 83823d063ab57db8d3954c1530d036f1ccdceb41) --- lib/libmt/mtlib.c | 2 ++ usr.bin/mt/mt.1 | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/libmt/mtlib.c b/lib/libmt/mtlib.c index edcf747bd808..43f9c95bb797 100644 --- a/lib/libmt/mtlib.c +++ b/lib/libmt/mtlib.c @@ -642,6 +642,7 @@ static struct densities { { 0x56, 20670, 525018, "3592B5 (unencrypted)" }, { 0x57, 21850, 554990, "3592A6 (unencrypted)" }, { 0x58, 15142, 384607, "LTO-5" }, + { 0x59, 21850, 554990, "3592A7 (unencrypted)" }, { 0x5A, 15142, 384607, "LTO-6" }, { 0x5C, 19107, 485318, "LTO-7" }, { 0x5D, 19107, 485318, "LTO-M8" }, @@ -654,6 +655,7 @@ static struct densities { { 0x75, 20670, 525018, "3592A5 (encrypted)" }, { 0x76, 20670, 525018, "3592B5 (encrypted)" }, { 0x77, 21850, 554990, "3592A6 (encrypted)" }, + { 0x79, 21850, 554990, "3592A7 (encrypted)" }, { 0x8c, 1789, 45434, "EXB-8500c" }, { 0x90, 1703, 43245, "EXB-8200c" }, { 0, 0, 0, NULL } diff --git a/usr.bin/mt/mt.1 b/usr.bin/mt/mt.1 index 2cc649c43f13..5eb584336b2a 100644 --- a/usr.bin/mt/mt.1 +++ b/usr.bin/mt/mt.1 @@ -28,7 +28,7 @@ .\" .\" @(#)mt.1 8.1 (Berkeley) 6/6/93 .\" -.Dd December 10, 2020 +.Dd October 31, 2023 .Dt MT 1 .Os .Sh NAME @@ -520,6 +520,7 @@ Value Width Tracks Density Code Type Reference Note 0x56 12.7 (0.5) 7680 20,670 (525,018) C 3592B5 (unencrypted) 0x57 12.7 (0.5) 8704 21,850 (554,990) C 3592A6 (unencrypted) 0x58 12.7 (0.5) 1280 15,142 (384,607) C LTO-5 +0x59 12.7 (0.5)18944 21,850 (554,990) C 3592A7 (unencrypted) 0x5A 12.7 (0.5) 2176 15,142 (384,607) C LTO-6 0x5C 12.7 (0.5) 3584 19,107 (485,318) C LTO-7 0x5D 12.7 (0.5) 5376 19,107 (485,318) C LTO-M8 14 @@ -532,6 +533,7 @@ Value Width Tracks Density Code Type Reference Note 0x75 12.7 (0.5) 5120 20,670 (525,018) C 3592A5 (encrypted) 0x76 12.7 (0.5) 7680 20,670 (525,018) C 3592B5 (encrypted) 0x77 12.7 (0.5) 8704 21,850 (554,990) C 3592A6 (encrypted) +0x79 12.7 (0.5)18944 21,850 (554,990) C 3592A7 (encrypted) 0x8c 8.0 (0.315) 1 1,789 (45,434) RLL CS EXB-8500c 5,9 0x90 8.0 (0.315) 1 1,703 (43,245) RLL CS EXB-8200c 5,9 .Ed