summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr.bin/mt/mt.15
-rw-r--r--usr.bin/mt/mt.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/usr.bin/mt/mt.1 b/usr.bin/mt/mt.1
index 9edaab6..8da5b2d 100644
--- a/usr.bin/mt/mt.1
+++ b/usr.bin/mt/mt.1
@@ -86,6 +86,9 @@ Rewind the tape
.It Cm offline , rewoffl
Rewind the tape and place the tape unit off-line
(Count is ignored).
+.It Cm erase
+Erase the tape
+(Count is ignored).
.It Cm status
Print status information about the tape unit.
.El
@@ -127,4 +130,6 @@ The
.Nm mt
command appeared in
.Bx 4.3 .
+.Pp
+Erase function added by Andreas Klemm <andreas@knobel.gun.de> 10/94.
.\" mt.1: mtio(4) missing
diff --git a/usr.bin/mt/mt.c b/usr.bin/mt/mt.c
index 396fa81..f535e8b 100644
--- a/usr.bin/mt/mt.c
+++ b/usr.bin/mt/mt.c
@@ -70,6 +70,7 @@ struct commands {
{ "rewoffl", MTOFFL, 1 },
{ "status", MTNOP, 1 },
{ "weof", MTWEOF, 0 },
+ { "erase", MTERASE, 0 }, /* Andreas Klemm <andreas@knobel.gun.de */
{ NULL }
};
OpenPOWER on IntegriCloud