summaryrefslogtreecommitdiffstats
path: root/bin/mt
AgeCommit message (Expand)AuthorFilesLines
2020-01-16Usually, -width Fl (which is 10n) is too wide and hence ugly.schwarze1-3/+3
2019-07-03snprintf/vsnprintf return < 0 on error, rather than -1.deraadt1-3/+3
2019-06-28When system calls indicate an error they return -1, not some arbitraryderaadt2-18/+11
2019-01-22Add file # and block # to the information "mt status" shows.krw1-1/+3
2018-07-09ensure tape name and tape commands are not too long. passing too longderaadt2-6/+17
2017-04-17/dev/rmt* is no longer relevant; from miodjmc1-4/+2
2016-03-30for some time now mandoc has not required MLINKS to functionjmc1-2/+1
2015-12-30rename a few variables/functions to avoid shadowingtedu1-8/+8
2015-12-06Use __progname instead of manually handling argv[0].tobias1-10/+6
2013-11-21add unsigned char casts for specific calls to ctype.h macros.deraadt1-3/+3
2013-11-12add a variety of missing prototypesderaadt1-1/+6
2012-12-04replace sys/param.h with sys/types.h (and sometimes add limits.h if needed)deraadt1-2/+2
2012-12-04remove sunos backwards compatderaadt1-7/+1
2011-05-05Oops. Put back OPENDEV_PART so 'eject cd0' works again. Pointed outkrw1-2/+3
2011-04-24No point in attempting to open the 'c' partition on devices that havekrw1-2/+2
2010-09-03add EXIT STATUS (these two were hiding...);jmc1-6/+6
2009-11-09simplify the sub-ioctl functionderaadt1-4/+5
2009-11-07repair local operations after the -DRMT changes; from Matthew Clarkederaadt1-2/+2
2009-10-28Add a compile option (-DRMT) which decides if remote tape support (via rcmd)deraadt2-16/+54
2009-10-27rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andderaadt2-23/+2
2007-11-03- standard EXAMPLESjmc1-10/+7
2007-11-02+.Xr chio 1 ,jmc1-2/+3
2007-05-31convert to new .Dd format;jmc1-2/+2
2006-06-14Nuke only two uses of OPENDEV_DRCT in tree. Nuke OPENDEV_DRCT. Longkrw1-3/+3
2006-06-01We do not create st devices with different density modes. i.e. with devicekrw1-8/+4
2006-05-27The last time these were relevant I had a mullet.beck1-18/+2
2006-04-11Check for strdup() failure.ray1-4/+3
2006-03-23use strdup() instead; adobriyan@gmailderaadt1-7/+3
2005-12-22if in eject mode, do not include command name in error output; bug spotted by drahnderaadt1-4/+8
2005-11-25BINOWN and BINMODE is not needed herederaadt1-3/+1
2005-05-02tweaks;jmc1-4/+2
2005-05-01add eject -t option: permits tray to be closed (ie. insert a CD).deraadt2-18/+35
2005-04-26- do not list -f option for eject, as it is not necessaryjmc2-11/+10
2004-09-16ARGSUSED on signal handlerderaadt1-2/+3
2003-07-31typo;jmc1-2/+2
2003-07-30clarify use of eject on an empty cdrom drive. (eject /dev/rcd0c)tedu1-10/+14
2003-06-11ansification, art okderaadt1-21/+12
2003-06-02Remove the advertising clause in the UCB license which Berkeleymillert5-31/+11
2003-03-14document the -f flagjmc2-11/+29
2003-02-26clarify that eject works on other mediatedu1-2/+4
2002-07-04ansideraadt1-12/+6
2002-05-27strlcpyderaadt1-3/+4
2002-03-14kill more registers.mpech1-8/+8
2002-02-19We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft.millert1-3/+1
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.millert3-21/+21
2002-01-24fix the history refsmickey1-2/+4
2002-01-16missed some registers, kill'em!mpech1-9/+9
2001-11-14in a signal handler, change errx() to warnx() + _exit; millert okderaadt1-4/+13
2000-03-17Remove hard sentence breaks.aaron1-5/+5
1999-08-17consistencyaaron1-2/+3