.
.
.
         daddr_t mt_count;    /* number of operations */
        };
 
+       /* structure for MTIOCLTOP - magnetic tape operation command */
+       Works exactly like MTIOCTOP except passes 64 bit mt_count values.
+       struct  mtlop    { |               short           mt_op;
+               short           pad[3];
+               int64_t         mt_count;
+       };
 
-     The following operations of MTIOCTOP ioctl are supported:
 
+    The following operations of MTIOCTOP and MTIOCLTOP ioctl are supported:
      MTWEOF     write an end-of-file record
 
 
.
.
.

      MTGRSZ     get record size
 
 
+     MTTELL     get current position
+ 
+ 
+     MTSEEK     goto position  requested  position
+ 
+
+     MTFSSF     forward  to requesed sequential file marks
+
+
+     MTBSSF     backward  to requested sequential file marks
+
+
+     MTLOCK     prevent media removal
+
+
+     MTUNLOCK   allow media removal
+
+
+
+
+
 SunOS 5.11          Last change: 31 July 2006                   7
 
 
.
.
.

         ushort_t unload_timeout;           /* Seconds to unload */
         ushort_t erase_timeout;            /* Seconds to do long erase */
        };
+       /* structure for MTIOCGETPOS and MTIOCRESTPOS - get/set tape position */
+       struct tapepos and members defined in /usr/sys/scsi/targets/stdef.h
 
 
      The MTWEOF ioctl is used for writing file marks to tape. Not
.
.
.

      sities),   and   default   density   of   the   tape   drive
      (default_density).
 
+
+    The MTIOCGETPOS ioctl returns the current tape position of
+    the drive. It is returned in struct tapepos as defined in
+    /usr/include/sys/scsi/targets/stdef.h
+
+    The  MTIOCRESTPOS ioctl restores a saved position from the
+    MTIOCGETPOS.
+
   Persistent Error Handling IOCTLs and Asynchronous  Tape  Opera-
      tions
      MTIOCPERSISTENT          enables/disables  persistent  error
