diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2005-05-01 18:56:37 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2005-05-01 18:56:37 +0000 |
commit | 1995f7ade9fb30dd56c3cf776960cdd8ceaba63f (patch) | |
tree | d27a69af94630080cde93d525d2dd0fffa5cf16d /bin/mt/mt.1 | |
parent | a62de6854a68124d70fa76cf286cef032c86d6f3 (diff) |
add eject -t option: permits tray to be closed (ie. insert a CD).
this uses the MTRETEN option
split out getopt options for mt & eject, fix usage as well.
ok krw (who is about to commit the back end changes for scsi..)
Diffstat (limited to 'bin/mt/mt.1')
-rw-r--r-- | bin/mt/mt.1 | 23 |
1 files changed, 16 insertions, 7 deletions
diff --git a/bin/mt/mt.1 b/bin/mt/mt.1 index 424818bb18b..0e3ab697381 100644 --- a/bin/mt/mt.1 +++ b/bin/mt/mt.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: mt.1,v 1.22 2005/04/26 16:23:48 jmc Exp $ +.\" $OpenBSD: mt.1,v 1.23 2005/05/01 18:56:36 deraadt Exp $ .\" $NetBSD: mt.1,v 1.8 1996/05/21 10:23:55 mrg Exp $ .\" .\" Copyright (c) 1981, 1990, 1993 @@ -36,6 +36,7 @@ .Sh NAME .Nm mt , .Nm eject +.Op Fl t .Nd magnetic tape and removable media manipulating program .Sh SYNOPSIS .Nm mt @@ -43,6 +44,7 @@ .Ar command .Op Ar count .Nm eject +.Op Fl t .Ar device .Sh DESCRIPTION The @@ -78,16 +80,23 @@ may also be used to eject other types of removable media. The options for .Nm are as follows: -.Bl -tag -width "-f deviceXX" +.Bl -tag -width Ds .It Fl f Ar device Operate on the .Ar device specified. -If the -.Fl f -flag is passed to -.Nm eject , -it is silently ignored. +.El +.Pp +.Pp +The options for +.Nm eject +are as follows: +.Bl -tag -width Ds +.It Fl t +Insert the device instead of ejecting. +For the +.Xr cd 4 +driver, this request that the tray be closed. .El .Pp The available commands are listed below. |