From 2461956095022a2eeefebc932b4c61c78ec6b78f Mon Sep 17 00:00:00 2001 From: "Jordan K. Hubbard" Date: Fri, 28 Oct 1994 13:21:57 +0000 Subject: [PATCH] Andreas Klemm's tape erase patches from 1.1.5.1. Submitted by: andreas --- usr.bin/mt/mt.1 | 5 +++++ usr.bin/mt/mt.c | 1 + 2 files changed, 6 insertions(+) diff --git a/usr.bin/mt/mt.1 b/usr.bin/mt/mt.1 index 9edaab6972a4..8da5b2d287ca 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 10/94. .\" mt.1: mtio(4) missing diff --git a/usr.bin/mt/mt.c b/usr.bin/mt/mt.c index 396fa8156eb1..f535e8bab5b4 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