From root@koellers.net  Thu Sep  4 09:43:05 2003
Return-Path: <root@koellers.net>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id D179616A4BF
	for <FreeBSD-gnats-submit@freebsd.org>; Thu,  4 Sep 2003 09:43:05 -0700 (PDT)
Received: from sally.dts-online.net (sally.dts-online.net [212.62.68.35])
	by mx1.FreeBSD.org (Postfix) with ESMTP id D398843FB1
	for <FreeBSD-gnats-submit@freebsd.org>; Thu,  4 Sep 2003 09:43:01 -0700 (PDT)
	(envelope-from root@koellers.net)
Received: from door.koellers.net (213-182-115-234.teleos-web.de [213.182.115.234])
	by sally.dts-online.net (Postfix) with ESMTP id D93F03A2853
	for <FreeBSD-gnats-submit@freebsd.org>; Thu,  4 Sep 2003 18:43:00 +0200 (CEST)
Received: from odie.koellers.net (root@odie.koellers.net [192.168.4.2])
	by door.koellers.net (8.12.8p1/8.12.8) with ESMTP id h84E1Tm3001937;
	Thu, 4 Sep 2003 16:01:31 +0200 (CEST)
	(envelope-from root@koellers.net)
Received: from odie.koellers.net (smmsp@localhost [127.0.0.1])
	by odie.koellers.net (8.12.8p1/8.12.6) with ESMTP id h84E1T1Q001376;
	Thu, 4 Sep 2003 16:01:29 +0200 (CEST)
	(envelope-from root@odie.koellers.net)
Received: (from root@localhost)
	by odie.koellers.net (8.12.8p1/8.12.8/Submit) id h84E1Tk9001375;
	Thu, 4 Sep 2003 16:01:29 +0200 (CEST)
Message-Id: <200309041401.h84E1Tk9001375@odie.koellers.net>
Date: Thu, 4 Sep 2003 16:01:29 +0200 (CEST)
From: Lars Kller <lars@koellers.net>
Reply-To: lars@koellers.net
To: FreeBSD-gnats-submit@freebsd.org
Cc: lars@koellers.net
Subject: Extend mt command for AIT-2 tape drives
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         56447
>Category:       bin
>Synopsis:       [patch] extend mt(1) command for AIT-2 tape drives
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 04 09:50:11 PDT 2003
>Closed-Date:    
>Last-Modified:  Sat May 24 18:35:26 UTC 2008
>Originator:     Lars Kller
>Release:        FreeBSD 4.8-RELEASE i386
>Organization:
Computing Center, University of Bielefeld, Germany
>Environment:
System: FreeBSD odie.koellers.net 4.8-RELEASE FreeBSD 4.8-RELEASE #31: Wed Jun 11 21:13:53 CEST 2003 root@odie.koellers.net:/usr/src/sys/compile/ODIE i386

>Description:

	Extends output of mt stat comman for AIT-2 tape drives

	I've tested it on my local machine with SONY SDX-500C

>How-To-Repeat:

	-

>Fix:

	Apply appended patches


*** mt.c	Thu Sep  4 15:47:02 2003
--- mt.c~	Mon Mar 31 18:36:32 2003
***************
*** 520,526 ****
  	{ 0x26,	3816,	97000,	"DDS-4" },
  	{ 0x27,	3056,	77611,	"Mammoth" },
  	{ 0x28,	1491,	37871,	"X3.224" },
- 	{ 0x31,	6575,   167000,	"AIT-2" },
  	{ 0x41, 3868,   98250,  "DLTapeIV(40GB)" },
  	{ 0x48, 5236,   133000, "SDLTapeI(110)" },
  	{ 0x49, 7598,   193000, "SDLTapeI(160)" },
--- 520,525 ----
***************
*** 533,539 ****
  } comp_types[] = {
  	{ 0x00, "none" },
  	{ 0x00, "off" },
- 	{ 0x03, "ALDC" },
  	{ 0x10, "IDRC" },
  	{ 0x20, "DCLZ" },
  	{ 0xffffffff, "enable" },
--- 532,537 ----


*** mt.1	Thu Sep  4 15:49:10 2003
--- mt.1~	Mon Mar 31 18:36:32 2003
***************
*** 202,209 ****
  .It enable
  Same as
  .Ar on .
- .It ALDC
- Adaptive Lossless Data Compression (0x03).
  .It IDRC
  IBM Improved Data Recording Capability compression (0x10).
  .It DCLZ
--- 202,207 ----
***************
*** 287,293 ****
  0x29   12.7  (0.5)
  0x2A
  0x2B   12.7  (0.5)    3          ?        ?     ?   C   X3.267       5
- 0x31	8.0  (0.315)  1	     6575   (167000)        CS  AIT-2        5
  0x41   12.7  (0.5)  208      3,868  (98,250)  RLL   C   DLTapeIV(40) 6,7
  0x48   12.7  (0.5)  448      5,236  (133,000) PRML  C   SDLTapeI(110) 6,8
  0x49   12.7  (0.5)  448      7,598  (193,000) PRML  C   SDLTapeI(160) 6,8
--- 285,290 ----
>Release-Note:
>Audit-Trail:

From: "Lars =?iso-8859-1?Q?K=F6ller?=" <Lars@koellers.net>
To: FreeBSD-gnats-submit@FreeBSD.org, freebsd-bugs@FreeBSD.org
Cc: lars@koellers.net
Subject: Re: bin/56447: Extend mt command for AIT-2 tape drives 
Date: Sun, 28 Dec 2003 22:46:51 +0100

 Hi all,
 
 I hope you all have a nice christmas time .....
 
 Is it possible that someone spend 5 minutes to apply the simple changes 
 from my pr to the mt command in 4.X and 5.X?
 
 It would be very nice ....
 
 Alas I have no commit bits for the src and I'm really to unrefined
 to have them but for the ports tree, which is really enough. However
 it would be very nice if one src expert can have a look at it and 
 commit the simple changes!
 
 Thanks and regards
 
 Lars
 
 In reply to FreeBSD-gnats-submit@FreeBSD.org who wrote:
 
 >Thank you very much for your problem report.
 >It has the internal identification `bin/56447'.
 >The individual assigned to look at your
 >report is: freebsd-bugs. 
 >
 >You can access the state of your problem report at any time
 >via this link:
 >
 >http://www.freebsd.org/cgi/query-pr.cgi?pr=56447
 >
 >>Category:       bin
 >>Responsible:    freebsd-bugs
 >>Synopsis:       Extend mt command for AIT-2 tape drives
 >>Arrival-Date:   Thu Sep 04 09:50:11 PDT 2003
 
 
 
>Unformatted:
