home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / unix / aix / 13234 < prev    next >
Encoding:
Text File  |  1993-01-12  |  1.6 KB  |  42 lines

  1. Newsgroups: comp.unix.aix
  2. Path: sparky!uunet!spillman!tye
  3. From: tye@spillman.uucp (E. Tye McQueen)
  4. Subject: Re: cpio: 0511-032 Cannot copy from the diskette.
  5. Message-ID: <1993Jan13.022154.31444@spillman.uucp>
  6. Date: Wed, 13 Jan 1993 02:21:54 GMT
  7. References: <2ZJ2wB1w163w@connect.com> <C0IwBv.MH6@austin.ibm.com>
  8. Organization: Spillman Data Systems
  9. Lines: 31
  10.  
  11. woan@exeter.austin.ibm.com (Ronald S. Woan) writes:
  12. )In article <2ZJ2wB1w163w@connect.com> root@connect.com (Niles Mills) writes:
  13. )>I'm trying to get a directory from a tape that is labelled as being
  14. )>"CPIO format" via the following command lines:  (label yields no
  15. )>clues as to density)
  16. )
  17. )You might try using smit to set the tape device to variable block size
  18. )(0).
  19.  
  20. If you ever deal with tapes on AIX, save the following two commands away:
  21.  
  22.         chdev -l rmt0 -a block_size=000    (act like a Unix tape drive)
  23. and
  24.         chdev -l rmt0 -a block_size=512    (act like an AIX tape drive)
  25.  
  26. The first is for dealing with any tapes other than AIX and the second
  27. is for installing AIX tapes.  You can also use
  28.  
  29.         chdev -l rmt0 -a block_size=NNN
  30.  
  31. to make it act like a tape drive connected to "dd bs=NNN".
  32.  
  33. Depending on your environment, you probably shouldn't assume anything
  34. about the what the block_size attribute is set to when you access the
  35. tape.  Just get in the habbit of explicitly setting it yourself before
  36. each use.
  37.  
  38.  tye@spillman.com                         Tye McQueen, E.
  39. ----------------------------------------------------------
  40.  Nothing is obvious unless you are overlooking something. 
  41. ----------------------------------------------------------
  42.