summaryrefslogtreecommitdiff
path: root/bin/mt/mt.c
AgeCommit message (Expand)Author
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-12add a variety of missing prototypesTheo 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
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
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
2005-12-22if in eject mode, do not include command name in error output; bug spotted by...Theo de Raadt
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
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2003-03-14document the -f flagJason McIntyre
2002-07-04ansiTheo de Raadt
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ...Todd C. Miller
2002-01-16missed some registers, kill'em!Mike Pechkin
1998-07-16support scsi better; fix another weird bug; mjacobTheo de Raadt
1997-04-16Use _PATH_DEFTAPE not DEFTAPE in mt(1)Todd C. Miller
1997-03-29Allow setting blocksize to 0 (variable size); from Juergen Hannken-IlljesThorsten Lockert
1996-09-14WHen we fail to open tape device, only print an error message if errnoTodd C. Miller
1996-09-02not setuid, silence TCP_MAXSEG for non-rootTheo de Raadt
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-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-11Make eject(1) an alias for mt .. offline, and support disklabel(8) shortJason Downs
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
1996-04-17From NetBSD: Don't open tapes for writing when repositioning.dm
1996-03-08From NetBSD:Niklas Hallqvist
1995-10-18initial import of NetBSD treeTheo de Raadt