Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Dec 2020 21:06:06 +0000 (UTC)
From:      "Kenneth D. Merry" <ken@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r368525 - in head: lib/libmt usr.bin/mt
Message-ID:  <202012102106.0BAL66aW024644@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ken
Date: Thu Dec 10 21:06:06 2020
New Revision: 368525
URL: https://svnweb.freebsd.org/changeset/base/368525

Log:
  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

Modified:
  head/lib/libmt/mtlib.c
  head/usr.bin/mt/mt.1

Modified: head/lib/libmt/mtlib.c
==============================================================================
--- head/lib/libmt/mtlib.c	Thu Dec 10 20:45:08 2020	(r368524)
+++ head/lib/libmt/mtlib.c	Thu Dec 10 21:06:06 2020	(r368525)
@@ -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)" },

Modified: head/usr.bin/mt/mt.1
==============================================================================
--- head/usr.bin/mt/mt.1	Thu Dec 10 20:45:08 2020	(r368524)
+++ head/usr.bin/mt/mt.1	Thu Dec 10 21:06:06 2020	(r368525)
@@ -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 Typ
 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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202012102106.0BAL66aW024644>