home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.aix
- Path: sparky!uunet!think.com!ames!ncar!acd!pack
- From: pack@acd.acd.ucar.edu (Daniel Packman)
- Subject: Re: Troubles with rmt
- Message-ID: <1992Nov10.213323.25971@ncar.ucar.edu>
- Summary: does aix switch rewind with rewind-offline?
- Sender: news@ncar.ucar.edu (USENET Maintenance)
- Organization: Ntl Center for Atmospheric Research, Atmospheric Chemistry
- References: <1992Nov10.211836.24463@ncar.ucar.edu>
- Date: Tue, 10 Nov 1992 21:33:23 GMT
- Lines: 31
-
- In article <1992Nov10.211836.24463@ncar.ucar.edu> pack@acd.acd.ucar.edu (Daniel Packman) writes:
- >We are having problems with /etc/rmt aka /usr/sbin/rmt..
-
- and (aside from perhaps a related problem with the S stat request
- failing at all times from rmt), the problems seem to be related to
- rmt unloading the tape when a rewind is issued.
-
- Now, browsing through Sun's mtio.h, I notice that
-
- mtio.h:#define MTREW 5 /* rewind */
- mtio.h:#define MTOFFL 6 /* rewind and put the drive offline */
-
- but, in ibm's tape.h we see
-
- tape.h:#define STOFFL 5 /* rewind and unload tape */
- tape.h:#define STREW 6 /* rewind */
-
- So what is a remote machine to do? Is there a true "standard"
- for rmt such that "I5" should be a straight rewind and not map
- directly to a machine specific ioctl of unknown affect? It would
- seem that AIX's rmt is just passing the Ioctl request along with
- the number unchanged. By the way, this is with AIX 3.2.* (3.2.2 and
- 3.2.3) and with rmt
-
- 08 1.12 com/cmd/arch/rmt.c, bos, bos320 5/22/91 17:52:38
-
-
- --
- Dan Packman NCAR INTERNET: pack@ncar.UCAR.EDU
- (303) 497-1427 P.O. Box 3000
- Boulder, CO 80307-3000 NSI/DECNET: 9583::PACK
-