summaryrefslogtreecommitdiffstats
path: root/usr.bin/mt
diff options
context:
space:
mode:
authorjoerg <joerg@FreeBSD.org>1996-01-08 12:29:26 +0000
committerjoerg <joerg@FreeBSD.org>1996-01-08 12:29:26 +0000
commit63a6a9070f2f90aa395953458e3ce10d4d09eb53 (patch)
tree6532b1b188cf03168417f11e72740a96f74b2a26 /usr.bin/mt
parent41bcdb612e6a863287c9e337911bcd7d4dba39f8 (diff)
downloadFreeBSD-src-63a6a9070f2f90aa395953458e3ce10d4d09eb53.zip
FreeBSD-src-63a6a9070f2f90aa395953458e3ce10d4d09eb53.tar.gz
Add `retens', the user frontend for MTRETENS.
Diffstat (limited to 'usr.bin/mt')
-rw-r--r--usr.bin/mt/mt.13
-rw-r--r--usr.bin/mt/mt.c1
2 files changed, 4 insertions, 0 deletions
diff --git a/usr.bin/mt/mt.1 b/usr.bin/mt/mt.1
index d27c168..a2cfc44 100644
--- a/usr.bin/mt/mt.1
+++ b/usr.bin/mt/mt.1
@@ -89,6 +89,9 @@ Rewind the tape and place the tape unit off-line
.It Cm erase
Erase the tape
(Count is ignored).
+.It Cm retens
+Re-tension the tape
+(one full wind forth and back, Count is ignored).
.It Cm status
Print status information about the tape unit.
.It Cm blocksize
diff --git a/usr.bin/mt/mt.c b/usr.bin/mt/mt.c
index 81bdefb..783f3de 100644
--- a/usr.bin/mt/mt.c
+++ b/usr.bin/mt/mt.c
@@ -94,6 +94,7 @@ struct commands {
{ "density", MTSETDNSTY, 0, NEED_2ARGS|ZERO_ALLOWED|IS_DENSITY },
{ "eom", MTEOD, 1 },
{ "comp", MTCOMP, 0, NEED_2ARGS|ZERO_ALLOWED },
+ { "retens", MTRETENS, 1 },
#endif /* defined(__FreeBSD__) */
{ NULL }
};
OpenPOWER on IntegriCloud