home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / unix / aix / 11452 < prev    next >
Encoding:
Text File  |  1992-11-10  |  1.7 KB  |  44 lines

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