Article View: gnu.utils.bug
Article #1338cpio 2.2
From: Andy Fyfe
Date: Wed, 27 Jan 1993 02:33
Date: Wed, 27 Jan 1993 02:33
27 lines
1365 bytes
1365 bytes
I found cpio can be used to copy devices, but I found that if a device had multiple links, it was not restored as such, but as separate files. This is also true for named pipes. My system is the AT&T 3b1, running system V (about release 2). Enclosed is a typescript using names pipes. Andy Fyfe andy@cs.caltech.edu marmot !1 $ cd test marmot !2 $ ls -li total 0 3244 prw-r--r-- 2 andy users 0 Jan 25 18:27 copy 3244 prw-r--r-- 2 andy users 0 Jan 25 18:27 pipe marmot !3 $ ls -li ../test2 total 0 marmot !4 $ ls * | cpio --pass --verbose ../test2 ../test2/copy ../test2/pipe 0 blocks marmot !5 $ ls -li ../test2 total 0 3240 prw-r--r-- 1 andy users 0 Jan 25 18:31 copy 3239 prw-r--r-- 1 andy users 0 Jan 25 18:31 pipe marmot !6 $ cpio --version GNU cpio version 2.2 marmot !7 $ exit
Technical Details
Message-ID:
<9301260243.AA02971@kodiak.cs.caltech.edu>Path:
arc1-ca.pugleaf.net!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!andyShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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 From: andy@scp.caltech.edu (Andy Fyfe) Newsgroups: gnu.utils.bug Subject: cpio 2.2 Date: 26 Jan 1993 21:33:38 -0500 Organization: GNUs Not Usenet Lines: 28 Sender: daemon@cis.ohio-state.edu Approved: bug-gnu-utils@prep.ai.mit.edu Distribution: gnu Message-ID: <9301260243.AA02971@kodiak.cs.caltech.edu>