aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenneth D. Merry <ken@FreeBSD.org>2020-12-15 19:59:29 +0000
committerKenneth D. Merry <ken@FreeBSD.org>2020-12-15 19:59:29 +0000
commitdfeb33c4709041b2e8a947856a4130c7410aa659 (patch)
tree6ee3cfd77a416a7ac68c83177b653776cb0cdb0e
parent34856fd338075bd058f1bbb1b2742d7aae6ca07f (diff)
downloadsrc-dfeb33c4709041b2e8a947856a4130c7410aa659.tar.gz
src-dfeb33c4709041b2e8a947856a4130c7410aa659.zip
MFC r368525:
------------------------------------------------------------------------ r368525 | ken | 2020-12-10 16:06:06 -0500 (Thu, 10 Dec 2020) | 17 lines Add the LTO-9 density code to libmt and the mt(1) man page. These values are taken directly from the density report from an IBM LTO-9 tape drive. (Using mt getdensity) A LTO-9 drive stores 18TB raw (45TB with compression) on an LTO-9 tape. lib/libmt/mtlib.c: Add the LTO-9 density code, and bpmm/bpi values. usr.bin/mt/mt.1: Add the LTO-9 density code, bpmm/bpi values and number of tracks. Bump the man page date. ------------------------------------------------------------------------ Sponsored by: Spectra Logic
Notes
Notes: svn path=/stable/12/; revision=368674
-rw-r--r--lib/libmt/mtlib.c1
-rw-r--r--usr.bin/mt/mt.13
2 files changed, 3 insertions, 1 deletions
diff --git a/lib/libmt/mtlib.c b/lib/libmt/mtlib.c
index b4ddddc215a1..4150825acc18 100644
--- a/lib/libmt/mtlib.c
+++ b/lib/libmt/mtlib.c
@@ -648,6 +648,7 @@ static struct densities {
{ 0x5C, 19107, 485318, "LTO-7" },
{ 0x5D, 19107, 485318, "LTO-M8" },
{ 0x5E, 20669, 524993, "LTO-8" },
+ { 0x60, 23031, 584987, "LTO-9" },
{ 0x71, 11800, 299720, "3592A1 (encrypted)" },
{ 0x72, 11800, 299720, "3592A2 (encrypted)" },
{ 0x73, 13452, 341681, "3592A3 (encrypted)" },
diff --git a/usr.bin/mt/mt.1 b/usr.bin/mt/mt.1
index e63e5f8ab6db..49efd77e3465 100644
--- a/usr.bin/mt/mt.1
+++ b/usr.bin/mt/mt.1
@@ -29,7 +29,7 @@
.\" @(#)mt.1 8.1 (Berkeley) 6/6/93
.\" $FreeBSD$
.\"
-.Dd March 4, 2019
+.Dd December 10, 2020
.Dt MT 1
.Os
.Sh NAME
@@ -525,6 +525,7 @@ Value Width Tracks Density Code Type Reference Note
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
0x5E 12.7 (0.5) 6656 20,669 (524,993) C LTO-8
+0x60 12.7 (0.5) 8960 23,031 (584,987) C LTO-9
0x71 12.7 (0.5) 512 11,800 (299,720) C 3592A1 (encrypted)
0x72 12.7 (0.5) 896 11,800 (299,720) C 3592A2 (encrypted)
0x73 12.7 (0.5) 1152 13,452 (341,681) C 3592A3 (encrypted)