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.

MFC after:	3 days
Sponsored by:	Spectra Logic
This commit is contained in:
ken 2020-12-10 21:06:06 +00:00
parent f623166c73
commit a56f1138da
2 changed files with 3 additions and 1 deletions

View File

@ -648,6 +648,7 @@ static struct densities {
{ 0x5C, 19107, 485318, "LTO-7" }, { 0x5C, 19107, 485318, "LTO-7" },
{ 0x5D, 19107, 485318, "LTO-M8" }, { 0x5D, 19107, 485318, "LTO-M8" },
{ 0x5E, 20669, 524993, "LTO-8" }, { 0x5E, 20669, 524993, "LTO-8" },
{ 0x60, 23031, 584987, "LTO-9" },
{ 0x71, 11800, 299720, "3592A1 (encrypted)" }, { 0x71, 11800, 299720, "3592A1 (encrypted)" },
{ 0x72, 11800, 299720, "3592A2 (encrypted)" }, { 0x72, 11800, 299720, "3592A2 (encrypted)" },
{ 0x73, 13452, 341681, "3592A3 (encrypted)" }, { 0x73, 13452, 341681, "3592A3 (encrypted)" },

View File

@ -29,7 +29,7 @@
.\" @(#)mt.1 8.1 (Berkeley) 6/6/93 .\" @(#)mt.1 8.1 (Berkeley) 6/6/93
.\" $FreeBSD$ .\" $FreeBSD$
.\" .\"
.Dd March 4, 2019 .Dd December 10, 2020
.Dt MT 1 .Dt MT 1
.Os .Os
.Sh NAME .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 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 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 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) 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) 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) 0x73 12.7 (0.5) 1152 13,452 (341,681) C 3592A3 (encrypted)