summaryrefslogtreecommitdiff
path: root/usr.bin/mt
diff options
context:
space:
mode:
authorJoerg Wunsch <joerg@FreeBSD.org>1997-08-21 05:49:29 +0000
committerJoerg Wunsch <joerg@FreeBSD.org>1997-08-21 05:49:29 +0000
commit0ee7623d10a2421fc2009ce9cbdbe8973716e5bd (patch)
treefb4dc7d0b040e989ee8018b90e6ee4b0ba12ee5a /usr.bin/mt
parentb3e4e390f6df82c4bc1ab972586a39fea696fbff (diff)
downloadsrc-test2-0ee7623d10a2421fc2009ce9cbdbe8973716e5bd.tar.gz
src-test2-0ee7623d10a2421fc2009ce9cbdbe8973716e5bd.zip
Notes
Diffstat (limited to 'usr.bin/mt')
-rw-r--r--usr.bin/mt/mt.132
-rw-r--r--usr.bin/mt/mt.c3
2 files changed, 24 insertions, 11 deletions
diff --git a/usr.bin/mt/mt.1 b/usr.bin/mt/mt.1
index 8210d54433a8..4607e46adf65 100644
--- a/usr.bin/mt/mt.1
+++ b/usr.bin/mt/mt.1
@@ -110,9 +110,13 @@ string has been taken for.
.It Cm eom
Forward space to end of recorded medium
(Count is ignored).
+.It Cm eod
+Forward space to end of data, identical to
+.Cm eom .
.It Cm comp
Set compression mode.
-(Not yet implemented.)
+(The kernel counterpart of this has not yet been reported to work
+correctly.)
.El
.Pp
If a tape name is not specified, and the environment variable
@@ -195,16 +199,16 @@ argument
.Ar tapename
is not given.
.Sh FILES
-.Bl -tag -width /dev/rwt* -compact
-.It Pa /dev/rwt*
-Raw magnetic tape interface
-.It Pa /dev/*st[0-9]*
+.Bl -tag -width /dev/*rst[0-9]*xx -compact
+.It Pa /dev/*rwt*
+QIC-02/QIC-36 magnetic tape interface
+.It Pa /dev/*rst[0-9]*
SCSI magnetic tape interface
.El
.Sh SEE ALSO
-.\".Xr mtio 4 ,
+.Xr mtio 4 ,
.Xr st 4 ,
-.\".Xr wt 4 ,
+.Xr wt 4 ,
.Xr dd 1 ,
.Xr ioctl 2 ,
.Xr environ 7
@@ -213,7 +217,7 @@ The
.Nm
command appeared in
.Bx 4.3 .
-
+.Pp
Extensions regarding the
.Xr st 4
driver appeared in 386BSD 0.1 as a separate
@@ -222,5 +226,13 @@ command, and have been merged into the
.Nm
command in
.Fx 2.1 .
-.\" mt.1: mtio(4) missing
-.\" mt.1: wt(4) missing
+.Pp
+The former
+.Cm eof
+command that used to be a synonym for
+.Cm weof
+has been abandoned in
+.Fx 2.1
+since it was often confused with
+.Cm eom ,
+which is fairly dangerous.
diff --git a/usr.bin/mt/mt.c b/usr.bin/mt/mt.c
index 8750759ad769..8976dc6a7c79 100644
--- a/usr.bin/mt/mt.c
+++ b/usr.bin/mt/mt.c
@@ -42,7 +42,7 @@ static const char copyright[] =
static char sccsid[] = "@(#)mt.c 8.2 (Berkeley) 5/4/95";
#endif
static const char rcsid[] =
- "$Id$";
+ "$Id: mt.c,v 1.12 1997/07/29 06:49:16 charnier Exp $";
#endif /* not lint */
/*
@@ -99,6 +99,7 @@ struct commands {
{ "blocksize", MTSETBSIZ, 0, NEED_2ARGS|ZERO_ALLOWED },
{ "density", MTSETDNSTY, 0, NEED_2ARGS|ZERO_ALLOWED|IS_DENSITY },
{ "eom", MTEOD, 1 },
+ { "eod", MTEOD, 1 },
{ "comp", MTCOMP, 0, NEED_2ARGS|ZERO_ALLOWED },
{ "retension", MTRETENS, 1 },
#endif /* defined(__FreeBSD__) */