|
|
1.1 ! root 1: .TH MT 1 "1 April 1983" ! 2: .UC 4 ! 3: .SH NAME ! 4: mt \- magnetic tape manipulating program ! 5: .SH SYNOPSIS ! 6: .B mt ! 7: [ ! 8: .B \-f ! 9: .I tapename ! 10: ] ! 11: .I command ! 12: [ ! 13: .I count ! 14: ] ! 15: .SH DESCRIPTION ! 16: .I Mt ! 17: is used to give commands to a magnetic tape drive. ! 18: If a tape name is not specified, the environment variable ! 19: TAPE is used; if TAPE does not exist, ! 20: .I mt ! 21: uses the device ! 22: .IR /dev/rcy0s . ! 23: Note ! 24: that ! 25: .I tapename ! 26: must reference a raw (not block) tape device. ! 27: By default ! 28: .I mt ! 29: performs the requested operation once. Operations ! 30: may be performed multiple times by specifying ! 31: .IR count . ! 32: .PP ! 33: The available commands are listed below. Only as many ! 34: characters as are required to uniquely identify a command ! 35: need be specified. ! 36: .TP ! 37: .BR eof , " weof" ! 38: Write ! 39: .I count ! 40: end-of-file marks at the current position on the tape. ! 41: .TP ! 42: .B fsf ! 43: Forward space ! 44: .I count ! 45: files. ! 46: .TP ! 47: .B fsr ! 48: Forward space ! 49: .I count ! 50: records. ! 51: .TP ! 52: .B bsf ! 53: Back space ! 54: .I count ! 55: files. ! 56: .TP ! 57: .B bsr ! 58: Back space ! 59: .I count ! 60: records. ! 61: .TP ! 62: .B rewind ! 63: Rewind the tape ! 64: .RI ( Count ! 65: is ignored.) ! 66: .TP ! 67: .BR offline , " rewoffl" ! 68: Rewind the tape and place the tape unit off-line ! 69: .RI ( Count ! 70: is ignored.) ! 71: .TP ! 72: .B status ! 73: Print status information about the tape unit. ! 74: .PP ! 75: .I Mt ! 76: returns a 0 exit status when the operation(s) were successful, ! 77: 1 if the command was unrecognized, and 2 if an operation failed. ! 78: .SH FILES ! 79: .DT ! 80: /dev/rcy* Raw magnetic tape interface ! 81: .SH "SEE ALSO" ! 82: mtio(4), dd(1), ioctl(2), environ(7)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.