From dillon@flea.best.net  Thu Dec 11 11:33:58 1997
Received: from flea.best.net (root@flea.best.net [206.184.139.131])
          by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id LAA07775
          for <FreeBSD-gnats-submit@freebsd.org>; Thu, 11 Dec 1997 11:33:58 -0800 (PST)
          (envelope-from dillon@flea.best.net)
Received: (from dillon@localhost) by flea.best.net (8.8.8/8.7.3) id LAA08713; Thu, 11 Dec 1997 11:33:30 -0800 (PST)
Message-Id: <199712111933.LAA08713@flea.best.net>
Date: Thu, 11 Dec 1997 11:33:30 -0800 (PST)
From: Matt Dillon <dillon@best.net>
Reply-To: dillon@best.net
To: FreeBSD-gnats-submit@freebsd.org
Subject: mt should report compression status (with fix)
X-Send-Pr-Version: 3.2

>Number:         5276
>Category:       bin
>Synopsis:       mt should report compression status
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec 11 11:40:02 PST 1997
>Closed-Date:    Sun Apr 19 10:28:19 PDT 1998
>Last-Modified:  Sun Apr 19 10:28:33 PDT 1998
>Originator:     Matt Dillon
>Release:        FreeBSD 2.2.5-STABLE i386
>Organization:
Best Internet Communications, Inc.
>Environment:

	FreeBSD 2.2.5 / Exabyte SCSI tape drives

>Description:

	mt should report the compression status.  I have included a patch.

>How-To-Repeat:

>Fix:

*** usr.bin/mt/LINK/mt.c	Wed Sep 17 15:10:13 1997
--- usr.bin/mt/mt.c	Thu Dec 11 09:48:54 1997
***************
*** 415,422 ****
  void
  st_status(struct mtget *bp)
  {
! 	printf("Present Mode:   Density = %-12s Blocksize %s\n",
! 	       denstostring(bp->mt_density), getblksiz(bp->mt_blksiz));
  	printf("---------available modes---------\n");
  	printf("Mode 0:         Density = %-12s Blocksize %s\n",
  	       denstostring(bp->mt_density0), getblksiz(bp->mt_blksiz0));
--- 415,422 ----
  void
  st_status(struct mtget *bp)
  {
! 	printf("Present Mode:   Density = %-12s Blocksize %s Comp %d\n",
! 	       denstostring(bp->mt_density), getblksiz(bp->mt_blksiz), (int)bp->mt_comp);
  	printf("---------available modes---------\n");
  	printf("Mode 0:         Density = %-12s Blocksize %s\n",
  	       denstostring(bp->mt_density0), getblksiz(bp->mt_blksiz0));
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: phk 
State-Changed-When: Sun Apr 19 10:28:19 PDT 1998 
State-Changed-Why:  
committed, thanks! 
>Unformatted:
