Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Mar 2019 14:30:38 +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: r344761 - in head: lib/libmt usr.bin/mt
Message-ID:  <201903041430.x24EUcPP045592@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ken
Date: Mon Mar  4 14:30:37 2019
New Revision: 344761
URL: https://svnweb.freebsd.org/changeset/base/344761

Log:
  Add IBM TS1160 density codes to libmt and the mt(1) man page.
  
  These are taken directly from the density report from a TS1160
  tape drive.  (Using mt getdensity)
  
  A TS1160 drive stores 20TB raw (60TB with compression) on a JE tape.
  
  lib/libmt/mtlib.c:
  	Add 3592A6 encrypted/unencrypted density codes, and bpmm/bpi
  	values.
  
  usr.bin/mt/mt.1:
  	Add 3592B5 encrypted/unencrypted density codes, 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	Mon Mar  4 13:18:04 2019	(r344760)
+++ head/lib/libmt/mtlib.c	Mon Mar  4 14:30:37 2019	(r344761)
@@ -642,6 +642,7 @@ static struct densities {
 	{ 0x54, 19686,  500024, "3592A4 (unencrypted)" },
 	{ 0x55, 20670,  525018, "3592A5 (unencrypted)" },
 	{ 0x56, 20670,  525018, "3592B5 (unencrypted)" },
+	{ 0x57, 21850,  554990, "3592A6 (unencrypted)" },
 	{ 0x58, 15142,  384607, "LTO-5" },
 	{ 0x5A, 15142,  384607, "LTO-6" },
 	{ 0x5C, 19107,  485318, "LTO-7" },
@@ -653,6 +654,7 @@ static struct densities {
 	{ 0x74, 19686,  500024, "3592A4 (encrypted)" },
 	{ 0x75, 20670,  525018, "3592A5 (encrypted)" },
 	{ 0x76, 20670,  525018, "3592B5 (encrypted)" },
+	{ 0x77, 21850,  554990, "3592A6 (encrypted)" },
 	{ 0x8c,  1789,   45434, "EXB-8500c" },
 	{ 0x90,  1703,   43245, "EXB-8200c" },
 	{ 0, 0, 0, NULL }

Modified: head/usr.bin/mt/mt.1
==============================================================================
--- head/usr.bin/mt/mt.1	Mon Mar  4 13:18:04 2019	(r344760)
+++ head/usr.bin/mt/mt.1	Mon Mar  4 14:30:37 2019	(r344761)
@@ -29,7 +29,7 @@
 .\"	@(#)mt.1	8.1 (Berkeley) 6/6/93
 .\" $FreeBSD$
 .\"
-.Dd November 3, 2017
+.Dd March 4, 2019
 .Dt MT 1
 .Os
 .Sh NAME
@@ -519,6 +519,7 @@ Value  Width        Tracks    Density         Code Typ
 0x54   12.7  (0.5) 2560      19,686 (500,024)       C   3592A4 (unencrypted)
 0x55   12.7  (0.5) 5120      20,670 (525,018)       C   3592A5 (unencrypted)
 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
 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
@@ -530,6 +531,7 @@ Value  Width        Tracks    Density         Code Typ
 0x74   12.7  (0.5) 2560      19,686 (500,024)       C   3592A4 (encrypted)
 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)
 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



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