summaryrefslogtreecommitdiff
path: root/bin/mt
AgeCommit message (Expand)Author
2020-01-16Usually, -width Fl (which is 10n) is too wide and hence ugly.Ingo Schwarze
2019-07-03snprintf/vsnprintf return < 0 on error, rather than -1.Theo de Raadt
2019-06-28When system calls indicate an error they return -1, not some arbitraryTheo de Raadt
2019-01-22Add file # and block # to the information "mt status" shows.Kenneth R Westerback
2018-07-09ensure tape name and tape commands are not too long. passing too longTheo de Raadt
2017-04-17/dev/rmt* is no longer relevant; from miodJason McIntyre
2016-03-30for some time now mandoc has not required MLINKS to functionJason McIntyre
2015-12-30rename a few variables/functions to avoid shadowingTed Unangst
2015-12-06Use __progname instead of manually handling argv[0].Tobias Stoeckmann
2013-11-21add unsigned char casts for specific calls to ctype.h macros.Theo de Raadt
2013-11-12add a variety of missing prototypesTheo de Raadt
2012-12-04replace sys/param.h with sys/types.h (and sometimes add limits.h if needed)Theo de Raadt
2012-12-04remove sunos backwards compatTheo de Raadt
2011-05-05Oops. Put back OPENDEV_PART so 'eject cd0' works again. Pointed outKenneth R Westerback
2011-04-24No point in attempting to open the 'c' partition on devices that haveKenneth R Westerback
2010-09-03add EXIT STATUS (these two were hiding...);Jason McIntyre
2009-11-09simplify the sub-ioctl functionTheo de Raadt
2009-11-07repair local operations after the -DRMT changes; from Matthew ClarkeTheo de Raadt
2009-10-28Add a compile option (-DRMT) which decides if remote tape support (via rcmd)Theo de Raadt
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2007-11-03- standard EXAMPLESJason McIntyre
2007-11-02+.Xr chio 1 ,Jason McIntyre
2007-05-31convert to new .Dd format;Jason McIntyre
2006-06-14Nuke only two uses of OPENDEV_DRCT in tree. Nuke OPENDEV_DRCT. LongKenneth R Westerback
2006-06-01We do not create st devices with different density modes. i.e. with deviceKenneth R Westerback
2006-05-27The last time these were relevant I had a mullet.Bob Beck
2006-04-11Check for strdup() failure.Ray Lai
2006-03-23use strdup() instead; adobriyan@gmailTheo de Raadt
2005-12-22if in eject mode, do not include command name in error output; bug spotted by...Theo de Raadt
2005-11-25BINOWN and BINMODE is not needed hereTheo de Raadt
2005-05-02tweaks;Jason McIntyre
2005-05-01add eject -t option: permits tray to be closed (ie. insert a CD).Theo de Raadt
2005-04-26- do not list -f option for eject, as it is not necessaryJason McIntyre
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
2003-06-11ansification, art okTheo de Raadt
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2003-03-14document the -f flagJason McIntyre
2003-02-26clarify that eject works on other mediaTed Unangst
2002-07-04ansiTheo de Raadt
2002-05-27strlcpyTheo de Raadt
2002-03-14kill more registers.Mike Pechkin
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
2002-01-24fix the history refsMichael Shalayeff
2002-01-16missed some registers, kill'em!Mike Pechkin
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