Home | History | Annotate | Download | only in sys

Lines Matching full:tape

1 /* Structures and definitions for magnetic tape I/O control commands.
30 /* Structure for MTIOCTOP - magnetic tape operation command. */
39 /* Magnetic Tape operations [Not all operations supported by all drivers]. */
50 #define MTRETEN 9 /* Retension tape. */
56 #define MTERASE 13 /* Erase tape -- be careful! */
63 #define MTSETDENSITY 21 /* Set tape density (SCSI). */
77 #define MTSETPART 33 /* Change the active tape partition. */
78 #define MTMKPART 34 /* Format the tape with one or two partitions. */
80 /* structure for MTIOCGET - mag tape get status command */
94 __daddr_t mt_fileno; /* Number of current file on tape. */
104 #define MT_ISQIC02 0x02 /* Generic QIC-02 tape streamer. */
120 #define MT_ISSCSI1 0x71 /* Generic ANSI SCSI-1 tape unit. */
121 #define MT_ISSCSI2 0x72 /* Generic ANSI SCSI-2 tape unit. */
136 {MT_ISUNKNOWN, "Unknown type of tape device"}, \
137 {MT_ISQIC02, "Generic QIC-02 tape streamer"}, \
146 {MT_ISQIC02_ALL_FEATURES, "Generic QIC-02 tape, all features"}, \
150 {MT_ISSCSI1, "Generic SCSI-1 tape"}, \
151 {MT_ISSCSI2, "Generic SCSI-2 tape"}, \
156 /* Structure for MTIOCPOS - mag tape get position command. */
197 /* Magnetic tape I/O control commands. */
198 #define MTIOCTOP _IOW('m', 1, struct mtop) /* Do a mag tape op. */
199 #define MTIOCGET _IOR('m', 2, struct mtget) /* Get tape status. */
200 #define MTIOCPOS _IOR('m', 3, struct mtpos) /* Get tape position.*/
204 #define MTIOCGETCONFIG _IOR('m', 4, struct mtconfiginfo) /* Get tape config.*/
205 #define MTIOCSETCONFIG _IOW('m', 5, struct mtconfiginfo) /* Set tape config.*/
207 /* Generic Mag Tape (device independent) status macros for examining
225 #define GMT_DR_OPEN(x) ((x) & 0x00040000) /* Door open (no tape). */
231 /* SCSI-tape specific definitions. Bitfield shifts in the status */
272 /* Specify default tape device. */
274 # define DEFTAPE "/dev/tape"