blocksize density eom erase offline rewind rewoffl status retension
This makes it possible to set the default density or to set variable
blocksize. See PR #3256.
Some cleanup of the remote tape interface, but a lot more is needed.
Ideally, we'd have a "rmt" library which provides a remote tape API
including open, read, write, close, and ioctl. This is useful not
only for mt, but also for programs like tar, cpio, pax, backup and
restore.
use getopt to parse command line arguments.
use err(), errx(), etc. for error messages.
include appropriate header files for function prototypes.
return 0 on successfull exit instead of dropping off the end of main().