home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / gnu / utils / bug / 2475 < prev    next >
Encoding:
Internet Message Format  |  1993-01-28  |  1.3 KB

  1. Path: sparky!uunet!stanford.edu!agate!ames!sun-barr!cs.utexas.edu!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!cis.ohio-state.edu!scp.caltech.edu!andy
  2. From: andy@scp.caltech.edu (Andy Fyfe)
  3. Newsgroups: gnu.utils.bug
  4. Subject: cpio 2.2
  5. Date: 26 Jan 1993 21:33:38 -0500
  6. Organization: GNUs Not Usenet
  7. Lines: 28
  8. Sender: daemon@cis.ohio-state.edu
  9. Approved: bug-gnu-utils@prep.ai.mit.edu
  10. Distribution: gnu
  11. Message-ID: <9301260243.AA02971@kodiak.cs.caltech.edu>
  12.  
  13. I found cpio can be used to copy devices, but I found that if a
  14. device had multiple links, it was not restored as such, but as
  15. separate files.   This is also true for named pipes.
  16.  
  17. My system is the AT&T 3b1, running system V (about release 2).
  18. Enclosed is a typescript using names pipes.
  19.  
  20. Andy Fyfe                    andy@cs.caltech.edu
  21.  
  22. marmot !1 $ cd test
  23. marmot !2 $ ls -li
  24. total 0
  25.   3244 prw-r--r--   2 andy     users           0 Jan 25 18:27 copy
  26.   3244 prw-r--r--   2 andy     users           0 Jan 25 18:27 pipe
  27. marmot !3 $ ls -li ../test2
  28. total 0
  29. marmot !4 $ ls * | cpio --pass --verbose ../test2
  30. ../test2/copy
  31. ../test2/pipe
  32. 0 blocks
  33. marmot !5 $ ls -li ../test2
  34. total 0
  35.   3240 prw-r--r--   1 andy     users           0 Jan 25 18:31 copy
  36.   3239 prw-r--r--   1 andy     users           0 Jan 25 18:31 pipe
  37. marmot !6 $ cpio --version
  38. GNU cpio version 2.2
  39. marmot !7 $ exit
  40.  
  41.