patch-1.3.98 linux/include/linux/mtio.h
Next file: linux/include/linux/proc_fs.h
Previous file: linux/include/linux/kernel.h
Back to the patch index
Back to the overall index
-  Lines: 26
 -  Date:
Fri May  3 10:12:17 1996
 -  Orig file: 
v1.3.97/linux/include/linux/mtio.h
 -  Orig date: 
Tue Apr 23 13:57:13 1996
 
diff -u --recursive --new-file v1.3.97/linux/include/linux/mtio.h linux/include/linux/mtio.h
@@ -57,6 +57,8 @@
 #define MTLOAD  30	/* execute the SCSI load command */
 #define MTUNLOAD 31	/* execute the SCSI unload command */
 #define MTCOMPRESSION 32/* control compression with SCSI mode page 15 */
+#define MTSETPART 33	/* Change the active tape partition */
+#define MTMKPART  34	/* Format the tape with one or two partitions */
 
 /* structure for MTIOCGET - mag tape get status command */
 
@@ -180,7 +182,6 @@
 #define	MTIOCGETCONFIG	_IOR('m', 4, struct mtconfiginfo) /* get tape config */
 #define	MTIOCSETCONFIG	_IOW('m', 5, struct mtconfiginfo) /* set tape config */
 
-
 /* Generic Mag Tape (device independent) status macros for examining
  * mt_gstat -- HP-UX compatible.
  * There is room for more generic status bits here, but I don't
@@ -235,6 +236,8 @@
 #define MT_ST_DEF_WRITES	0x80
 #define MT_ST_CAN_BSR		0x100
 #define MT_ST_NO_BLKLIMS	0x200
+#define MT_ST_CAN_PARTITIONS    0x400
+#define MT_ST_SCSI2LOGICAL      0x800
 
 /* The mode parameters to be controlled. Parameter chosen with bits 20-28 */
 #define MT_ST_CLEAR_DEFAULT	0xfffff
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this