From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078612210129.tru64-unix-managers.marc@archive.invalid> From: Johan Nyberg Date: Fri, 02 May 1997 14:32:11 +0000 To: tru64-unix-managers Subject: Current file and block number position on magnetic tapes X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078612210129 Hi there, One of my colleagues is porting a C program from Solaris to DU4.0. The program accesses magnetic tape drives (we use mainly EXABYTE 8505 drives). On Solaris he can from within his program get the current file and block number position on the tape, because in the structure mtget includes the following two members: daddr_t mt_fileno; /* file number of current position */ daddr_t mt_blkno; /* block number of current position */ On DU4.0 the mtget structure does not have these members. Does anybody out there know if and how it is possible to find the current file and block number position from within a C program on DU4.0? -- Johan Nyberg, The Svedberg Laboratory, Uppsala University, Uppsala, Sweden nyberg@unix.tsl.uu.se, http://www3.tsl.uu.se/~nyberg. Fax: +46-18-183833 Tel: +46-18-183047 (office), +46-18-324314 (home), +46-708-324314 (mobile)