Date: Thu, 11 Dec 1997 11:33:30 -0800 (PST) From: Matt Dillon <dillon@best.net> To: FreeBSD-gnats-submit@FreeBSD.ORG Subject: bin/5276: mt should report compression status (with fix) Message-ID: <199712111933.LAA08713@flea.best.net> Resent-Message-ID: <199712111940.LAA08445@hub.freebsd.org>
index | next in thread | raw e-mail
>Number: 5276
>Category: bin
>Synopsis: mt should report compression status
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Thu Dec 11 11:40:02 PST 1997
>Last-Modified:
>Originator: Matt Dillon
>Organization:
Best Internet Communications, Inc.
>Release: FreeBSD 2.2.5-STABLE i386
>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));
>Audit-Trail:
>Unformatted:
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199712111933.LAA08713>
