mt should report the compression status.

PR:		5276
Reviewed by:	phk
Submitted by:	Matt Dillon <dillon@best.net>
This commit is contained in:
phk 1998-04-19 17:28:14 +00:00
parent 0f961b2277
commit 100f9b99a0

View File

@ -42,7 +42,7 @@ static const char copyright[] =
static char sccsid[] = "@(#)mt.c 8.2 (Berkeley) 5/4/95"; static char sccsid[] = "@(#)mt.c 8.2 (Berkeley) 5/4/95";
#endif #endif
static const char rcsid[] = static const char rcsid[] =
"$Id: mt.c,v 1.12 1997/07/29 06:49:16 charnier Exp $"; "$Id: mt.c,v 1.13 1997/08/21 05:49:29 joerg Exp $";
#endif /* not lint */ #endif /* not lint */
/* /*
@ -415,8 +415,8 @@ getblksiz(int bs)
void void
st_status(struct mtget *bp) st_status(struct mtget *bp)
{ {
printf("Present Mode: Density = %-12s Blocksize %s\n", printf("Present Mode: Density = %-12s Blocksize %s Comp %d\n",
denstostring(bp->mt_density), getblksiz(bp->mt_blksiz)); denstostring(bp->mt_density), getblksiz(bp->mt_blksiz), (int)bp->mt_comp);
printf("---------available modes---------\n"); printf("---------available modes---------\n");
printf("Mode 0: Density = %-12s Blocksize %s\n", printf("Mode 0: Density = %-12s Blocksize %s\n",
denstostring(bp->mt_density0), getblksiz(bp->mt_blksiz0)); denstostring(bp->mt_density0), getblksiz(bp->mt_blksiz0));