I am currently proting a program from Solaris to OSF/1 4.0. This program makes use of mtio to determine the tape position: struct mtget x; int i; i = ioctl( t->fd, MTIOCGET, &x); if ( i == 0 ) { t->marks = x.mt_fileno; t->block = x.mt_blkno; } the OSF/1 4.0 version of `struct mtget' does not contain the `mt_fileno' or `mt_blkno'. A frustrated search through the manpages (ioctl, mtio, mt, etc) gives no hint on how to probe the tape device for this kind of information. Is there anyone who has any idea as of how to proceed? /Mats -- ============================================================================== Mats Bergstr�m Niels Bohr Institute Tandem Accelerator Laboratory PGP: 1024/272C9B65 1995/07/04 Mats Bergstrom Key fingerprint: 90 A8 3F 25 BE 2F 73 EF A4 69 33 3D F5 2F 79 BC Key location :