diff options
author | jkh <jkh@FreeBSD.org> | 1994-10-28 13:21:57 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1994-10-28 13:21:57 +0000 |
commit | 3e33d35fb620c3db73ee4a36a0e6a78a4ec21e27 (patch) | |
tree | 0683b276af1ac42242a67bc2887e09308b84a04f /usr.bin/mt | |
parent | 685a08f618f1d6486b02feef5b92ac3394ea6396 (diff) | |
download | FreeBSD-src-3e33d35fb620c3db73ee4a36a0e6a78a4ec21e27.zip FreeBSD-src-3e33d35fb620c3db73ee4a36a0e6a78a4ec21e27.tar.gz |
Andreas Klemm's tape erase patches from 1.1.5.1.
Submitted by: andreas
Diffstat (limited to 'usr.bin/mt')
-rw-r--r-- | usr.bin/mt/mt.1 | 5 | ||||
-rw-r--r-- | usr.bin/mt/mt.c | 1 |
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 } }; |