Date: Wed, 11 Feb 1998 00:42:34 -0600 (CST) From: Jim Bryant <jbryant@unix.tfs.net> To: freebsd-current@FreeBSD.ORG Subject: st/mt Message-ID: <199802110642.AAA10013@unix.tfs.net>
index | next in thread | raw e-mail
here is the diff i mentioned... not much right now, just perusing the
code mainly...
*** mt.c.orig Thu Aug 21 00:49:29 1997
--- mt.c Wed Feb 11 00:36:27 1998
***************
*** 368,371 ****
--- 368,378 ----
{ 0x16, "X3.193-1990" },
{ 0x17, "X3B5/91-174" },
+ { 0x18, "0x18 ???"}, /* ??? */
+ { 0x19, "0x19 ???"}, /* ??? */
+ { 0x20, "0x20 ???"}, /* ??? */
+ { 0x21, "0x21 ???"}, /* ??? */
+ { 0x22, "0x22 ???"}, /* ??? */
+ { 0x23, "0x23 ???"}, /* ??? */
+ { 0x24, "ECMA DDS-2"}, /* As returned by HP C1533A with 120M tape inserted [jdb] */
{ 0, 0 }
};
***************
*** 416,430 ****
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));
! printf("Mode 1: Density = %-12s Blocksize %s\n",
! denstostring(bp->mt_density1), getblksiz(bp->mt_blksiz1));
! printf("Mode 2: Density = %-12s Blocksize %s\n",
! denstostring(bp->mt_density2), getblksiz(bp->mt_blksiz2));
! printf("Mode 3: Density = %-12s Blocksize %s\n",
! denstostring(bp->mt_density3), getblksiz(bp->mt_blksiz3));
}
--- 423,437 ----
st_status(struct mtget *bp)
{
! printf("Present Mode: Density = %-12s Compression: %d Blocksize %s\n",
! denstostring(bp->mt_density), bp->mt_comp, getblksiz(bp->mt_blksiz));
printf("---------available modes---------\n");
! printf("Mode 0: Density = %-12s Compression: %d Blocksize %s\n",
! denstostring(bp->mt_density0), bp->mt_comp, getblksiz(bp->mt_blksiz0));
! printf("Mode 1: Density = %-12s Compression: %d Blocksize %s\n",
! denstostring(bp->mt_density1), bp->mt_comp, getblksiz(bp->mt_blksiz1));
! printf("Mode 2: Density = %-12s Compression: %d Blocksize %s\n",
! denstostring(bp->mt_density2), bp->mt_comp, getblksiz(bp->mt_blksiz2));
! printf("Mode 3: Density = %-12s Compression: %d Blocksize %s\n",
! denstostring(bp->mt_density3), bp->mt_comp, getblksiz(bp->mt_blksiz3));
}
jim
--
All opinions expressed are mine, if you | "I will not be pushed, stamped,
think otherwise, then go jump into turbid | briefed, debriefed, indexed, or
radioactive waters and yell WAHOO !!! | numbered!" - #1, "The Prisoner"
------------------------------------------------------------------------------
Inet: jbryant@tfs.net AX.25: kc5vdj@wv0t.#neks.ks.usa.noam grid: EM28pw
voice: KC5VDJ - 6 & 2 Meters AM/FM/SSB, 70cm FM. http://www.tfs.net/~jbryant
------------------------------------------------------------------------------
HF/6M/2M: IC-706-MkII, 2M: HTX-212, 2M: HTX-202, 70cm: HTX-404, Packet: KPC-3+
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe current" in the body of the message
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199802110642.AAA10013>
