From nobody Tue Oct 31 19:29:36 2023 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SKgFD3ZGnz4ynQP; Tue, 31 Oct 2023 19:29:36 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SKgFD31h8z4P0y; Tue, 31 Oct 2023 19:29:36 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1698780576; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=QjAVF1LtN4DtueJuSbJBw2knOgig9Ev5fyaMwqA2IBo=; b=BwA+wWu5LdsSVXdyXz4AXt0huGySLyu2/ka9TQvECsic2myGwjqnYzo5vG/k3n453yiOg0 2VSqtccolWLZFMj9KxHPMeaTsaII8Luto7fT3KpPpZvH+9OE9qcvm/IR6SaLeEjrmW63qM d1QLdMY275GRHG64qic/3Ck5imh7KnqLByG0hMA+hcW8Pc44xFeMB3quc0SIoFjcR1f3kN boeeAmTF2AE5bU1kcx2fF+YpO0KYTAeiJl+KVpS7uP2l6vjmqTIui4qU3kW9YLuzTsrKje NYEhiFSS8/12ErXh8KEuqgmltFiKIDAfSYrZP4a6emKcXXCjFjoqEJlqDbK1AA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1698780576; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=QjAVF1LtN4DtueJuSbJBw2knOgig9Ev5fyaMwqA2IBo=; b=Ww9MUQqMQdVVwiDiuMfJOCvJ92oDYQZvSuToubmnXl7Y0TxXc0FIQ22Gvm+gn3UbOKEAkT fhKP5H3VMCcxsYOKNcGrRAz9cH8D4hTf3SbpYQR6yxY0FrPn4MXFlYse6CR7f+IkOpvV2g 5gWt4uL45wJAfRPGnfD1sXn+V1f7lYu2GFkiW7JMXLQBDfKDa+bTlelEJPpBvAcneDWoLv MdDXe44y+Als3pLFz7n9CwM+4i+o2fUEr7pPbFURTuRNPrAMU4LVego9nmCL9ab3aAustz YgWZ5UVHR+iK66CUl//wtWQjfoBQmJbvjx6We3b5pYcKkEdZ7Ubfh55j2s8ccw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1698780576; a=rsa-sha256; cv=none; b=cnVznwPvJJX8b86p3nVrTEbbnEUzCe5JN6gY988wBF75xOibcxBQFT2B5QyOycUrNik9ni 13HDkUKITsoYJVt7uEUC/AZ1XlB4atYXxC4ZOaZLKyq0KuzBW9O431Me8UuTEGQT42+oTA +B7AF9Zqe43NIcZQBeh47lTQIhWPswghAAVLoaTF+bu+KrpScZYnSJIMMjFd/YuCo5SnqE F4gwJDgQCro46X99frnxmyDXKxP0P2SgECLdR58/1LD4lJEBaW3xeP7cp8PBm8QdhANI7L VKkyiYUrxDpzOFi9msKy8KNGh693n5RHtUOSMu46Z6mesbQ7mhxepaI5gkIKiQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4SKgFD24QTz1jX; Tue, 31 Oct 2023 19:29:36 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 39VJTaEg082277; Tue, 31 Oct 2023 19:29:36 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 39VJTaZ3082274; Tue, 31 Oct 2023 19:29:36 GMT (envelope-from git) Date: Tue, 31 Oct 2023 19:29:36 GMT Message-Id: <202310311929.39VJTaZ3082274@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: "Kenneth D. Merry" Subject: git: 83823d063ab5 - main - Add IBM TS1170 density codes and specs. List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: ken X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 83823d063ab57db8d3954c1530d036f1ccdceb41 Auto-Submitted: auto-generated The branch main has been updated by ken: URL: https://cgit.FreeBSD.org/src/commit/?id=83823d063ab57db8d3954c1530d036f1ccdceb41 commit 83823d063ab57db8d3954c1530d036f1ccdceb41 Author: Kenneth D. Merry AuthorDate: 2023-10-31 19:20:36 +0000 Commit: Kenneth D. Merry CommitDate: 2023-10-31 19:20:36 +0000 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). MFC after: 3 days Sponsored by: Spectra Logic --- 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