Bug 165 - broken odc format (?)
broken odc format (?)
Status: CLOSED DUPLICATE of bug 80
Product: Red Hat Linux
Classification: Retired
Component: cpio (Show other bugs)
5.1
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: David Lawrence
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 1998-11-23 04:58 EST by Marco Colombo
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 1998-11-23 07:23:18 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)

  None (edit)
Description Marco Colombo 1998-11-23 04:58:30 EST
# find /bin | cpio -o -H odc | cpio -itv | head -5
9700 blocks
prwS--S-wt   0 16877    root     909938282 Jan  1  1970
cpio: premature end of file

i get the same error whatever directory i list, and even
if i save the first cpio into a file and re-read it later.

Other formats work:
# find /bin | cpio -o -H crc | cpio -itv | head -5
drwxr-xr-x   2 root     root            0 Nov  1 17:38 /bin
-rwxr-xr-x   1 root     root         9764 Apr 24  1998
/bin/chgrp
-rwxr-xr-x   1 root     root        10276 Apr 24  1998
/bin/chmod
-rwxr-xr-x   1 root     root         9592 Apr 24  1998
/bin/chown
-rwxr-xr-x   1 root     root        23156 Apr 24  1998
/bin/cp
9236 blocks
9236 blocks

BTW, on a Solaris 2.5.1 Sparc system, both commands work
perfectly. Archives created on Solaris systems (in odc
format) can be read by Linux (GNU) cpio, while archives
created on Linux cannot be read by either systems. I've
tested this on different RHL5.1 boxes (from 80386 to AMDK5).

--
.TM.
Comment 1 Preston Brown 1998-11-23 07:20:59 EST
*** This bug has been marked as a duplicate of 80 ***
Comment 2 Preston Brown 1998-11-23 07:21:59 EST
*** This bug has been marked as a duplicate of 78 ***
Comment 3 Preston Brown 1998-11-23 07:23:59 EST
*** This bug has been marked as a duplicate of 80 ***

Note You need to log in before you can comment on or make changes to this bug.