home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / sgi / admin / 33 < prev    next >
Encoding:
Internet Message Format  |  1992-12-16  |  1.6 KB

  1. Xref: sparky comp.sys.sgi.admin:33 comp.sys.sun.admin:9511
  2. Path: sparky!uunet!spool.mu.edu!sdd.hp.com!usc!cs.utexas.edu!sun-barr!ames!sgi!fido!sam.wpd.sgi.com!pj
  3. From: pj@sam.wpd.sgi.com (Paul Jackson)
  4. Newsgroups: comp.sys.sgi.admin,comp.sys.sun.admin
  5. Subject: Re: Help on cpio: how to read backup tapes with cpio command?
  6. Date: 16 Dec 1992 21:59:37 GMT
  7. Organization: Silicon Graphics, Research & Development
  8. Lines: 29
  9. Distribution: world
  10. Message-ID: <1go8s9INN4pa@fido.asd.sgi.com>
  11. References: <1992Dec16.192634.19294@lambda.msfc.nasa.gov>
  12. Reply-To: pj@sgi.com
  13. NNTP-Posting-Host: sam.wpd.sgi.com
  14. Keywords: cpio help
  15.  
  16. In article <1992Dec16.192634.19294@lambda.msfc.nasa.gov>, mahmood@lambda.msfc.nasa.gov (Rafique Mahmood) writes:
  17. |> I need to write a program which will make a listing of the
  18. |> backup tapes. I tried 'cpio -tBi /dev/nrst1', it did not work.
  19.  
  20. If you look at the man page for cpio carefully (do "man cpio") you
  21. will see:
  22.  
  23.     cpio -i[BbcdmrtuvVfsSb6k] [-C bufsize] [[-I file] [-M message]] [pattern ...]
  24.  
  25. and a bit later:
  26.  
  27.     cpio -i (copy in) extracts files from the standard input
  28.  
  29. Observe that the archive or tape device is _not_ listed amongst
  30. the expected arguments of "cpio -i", and that it expects input
  31. instead from standard input.  This means that the following might
  32. work better for you:
  33.  
  34.     cpio -tBi < /dev/nrst1
  35.  
  36. There may have been other questions in your posting, but I could
  37. not quite understand what you were asking, so my apologies for not
  38. answering what else you might be asking.
  39.  
  40. -- 
  41.  
  42.                 I won't rest till it's the best ...
  43.                 Software Production Engineer
  44.                 Paul Jackson (pj@sgi.com), x1373
  45.