summaryrefslogtreecommitdiff
path: root/bin/mt
AgeCommit message (Collapse)Author
2005-05-02tweaks;Jason McIntyre
2005-05-01add eject -t option: permits tray to be closed (ie. insert a CD).Theo de Raadt
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..)
2005-04-26- do not list -f option for eject, as it is not necessaryJason McIntyre
- tidy up the options list somewhat to avoid confusion - sync usage() started by a diff from tom@ and ok'd by him;
2004-09-16ARGSUSED on signal handlerTheo de Raadt
2003-07-31typo;Jason McIntyre
2003-07-30clarify use of eject on an empty cdrom drive. (eject /dev/rcd0c)Ted Unangst
ok jmc@
2003-06-11ansification, art okTheo de Raadt
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2003-03-14document the -f flagJason McIntyre
remove the -t flag (it was an alias to -f) document that eject ignores $TAPE doc suggestion from Ross Richardson -t removal suggested by millert@ fixes PR 3143 ok millert@
2003-02-26clarify that eject works on other mediaTed Unangst
ok millert@
2002-07-04ansiTheo de Raadt
2002-05-27strlcpyTheo de Raadt
2002-03-14kill more registers.Mike Pechkin
millert@ ok
2002-02-19We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft.Todd C. Miller
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ↵Todd C. Miller
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
2002-01-24fix the history refsMichael Shalayeff
2002-01-16missed some registers, kill'em!Mike Pechkin
millert@ ok
2001-11-14in a signal handler, change errx() to warnx() + _exit; millert okTheo de Raadt
2000-03-17Remove hard sentence breaks.Aaron Campbell
1999-08-17consistencyAaron Campbell
1999-05-28more .El madnessAaron Campbell
1999-05-23remove argument from .Os macros so value in /usr/share/tmac/mdoc/doc-commonAaron Campbell
is used instead; kwesterback@home.com
1998-12-15always give .Nm macros an argument in SYNOPSIS sections; krw@tcn.netAaron Campbell
1998-11-28start killing redundant .Nm macro arguments (mandoc ``remembers'' the first oneAaron Campbell
it's given)
1998-09-23alphabetize SEE ALSO entries and numerically order according to sectionAaron Campbell
1998-09-14First complete sweep of man pages, bin/. Command/function names previouslyAaron Campbell
(incorrectly) capatilized are fixed. Comma splices, hyphenations, SYNOPSIS cleanups, other miscellaneous typos.
1998-07-16support scsi better; fix another weird bug; mjacobTheo de Raadt
1998-07-03Xr mtioTheo de Raadt
1997-09-21$OpenBSD$Theo de Raadt
1997-09-12Don't put newline's in warnx()Todd C. Miller
1997-06-18(foo *)0 -> NULLkstailey
1997-04-16Use _PATH_DEFTAPE not DEFTAPE in mt(1)Todd C. Miller
Remove DEFTAPE from <sys/mtio.h> and guard against multiple inclusion.
1997-03-29Allow setting blocksize to 0 (variable size); from Juergen Hannken-IlljesThorsten Lockert
<hannken@eis.cs.tu-bs.de> in NetBSD PR 3256
1996-09-15Don't complain if setsockopt() fails. It will fail if we used rcmdsh()Todd C. Miller
instead of rcmd() and there's no easy way to detect which we used now.
1996-09-14WHen we fail to open tape device, only print an error message if errnoTodd C. Miller
is non-zero. If errno is 0 then the remote mt already did the message...
1996-09-02not setuid, silence TCP_MAXSEG for non-rootTheo de Raadt
1996-09-01No longer need to be setuid (rcmd uses rcmdsh if uid != 0).Todd C. Miller
1996-09-01check rcmd() return val and exit nicely.Todd C. Miller
1996-08-10from bde@freebsd.org; if printregs() sees no bit names, avoid using themTheo de Raadt
1996-08-10%d for formatsTheo de Raadt
1996-08-09sprintf -> snprintfTodd C. Miller
1996-08-02zap getopt() case of -?, come on, it is the default!Theo de Raadt
1996-06-17opendev.h -> util.hJason Downs
1996-06-17Changed to use the opendev(3) in libutilJason Downs
1996-06-17The eject half of mt requires a device, instead of defaulting to the tape.Jason Downs
1996-06-12ok, so I didn't think of it last nightJason Downs
1996-06-12actually document what offline does.Jason Downs
1996-06-11Make eject(1) an alias for mt .. offline, and support disklabel(8) shortJason Downs
form device names.
1996-06-10from mrg; grok scsi tapesTheo de Raadt
1996-05-22add blocksize/density commands; part of #921; from rhialto@polder.ubc.kun.nlTheo de Raadt