summaryrefslogtreecommitdiffstats
path: root/bin/mt/mt.c
AgeCommit message (Expand)AuthorFilesLines
2019-06-28When system calls indicate an error they return -1, not some arbitraryderaadt1-4/+4
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 longderaadt1-1/+5
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-12add a variety of missing prototypesderaadt1-1/+6
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
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)deraadt1-15/+52
2009-10-27rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andderaadt1-15/+1
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
2005-12-22if in eject mode, do not include command name in error output; bug spotted by drahnderaadt1-4/+8
2005-05-01add eject -t option: permits tray to be closed (ie. insert a CD).deraadt1-11/+19
2005-04-26- do not list -f option for eject, as it is not necessaryjmc1-4/+4
2003-06-02Remove the advertising clause in the UCB license which Berkeleymillert1-7/+3
2003-03-14document the -f flagjmc1-4/+3
2002-07-04ansideraadt1-12/+6
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.millert1-5/+5
2002-01-16missed some registers, kill'em!mpech1-9/+9
1998-07-16support scsi better; fix another weird bug; mjacobderaadt1-4/+5
1997-04-16Use _PATH_DEFTAPE not DEFTAPE in mt(1)millert1-3/+3
1997-03-29Allow setting blocksize to 0 (variable size); from Juergen Hannken-Illjestholo1-18/+19
1996-09-14WHen we fail to open tape device, only print an error message if errnomillert1-4/+7
1996-09-02not setuid, silence TCP_MAXSEG for non-rootderaadt1-9/+2
1996-08-10from bde@freebsd.org; if printregs() sees no bit names, avoid using themderaadt1-2/+4
1996-08-10%d for formatsderaadt1-4/+4
1996-08-02zap getopt() case of -?, come on, it is the default!deraadt1-3/+2
1996-06-17opendev.h -> util.hdownsj1-6/+4
1996-06-17Changed to use the opendev(3) in libutildownsj1-43/+4
1996-06-17The eject half of mt requires a device, instead of defaulting to the tape.downsj1-5/+10
1996-06-12ok, so I didn't think of it last nightdownsj1-3/+2
1996-06-11Make eject(1) an alias for mt .. offline, and support disklabel(8) shortdownsj1-14/+89
1996-06-10from mrg; grok scsi tapesderaadt1-4/+4
1996-05-22add blocksize/density commands; part of #921; from rhialto@polder.ubc.kun.nlderaadt1-3/+12
1996-04-17From NetBSD: Don't open tapes for writing when repositioning.dm1-10/+15
1996-03-08From NetBSD:niklas1-10/+40
1995-10-18initial import of NetBSD treederaadt1-0/+236