Article View: comp.bugs.sys5
Article #978Bug in SysVr3.2.1 cpio ??????
From: Vincent C. Hatem
Date: Thu, 23 Feb 1989 22:22
Date: Thu, 23 Feb 1989 22:22
56 lines
1671 bytes
1671 bytes
We seem to have found a bug in the AT&T System V R 3.2.1 Version 3 (for the
3B2/600) /bin/cpio program...
It will not unpack an archive that contains a directory of empty directories.
For example... Try this:
cd /usr
mkdir junk1
cd junk1
mkdir a
mkdir b
mkdir c
mkdir d
mkdir e
cd /
find /usr/junk1 -depth -print | cpio -ovBumldO /dev/rmt/c1t2d0s0
then remove /usr/junk1:
rm -rf /usr/junk1
and give it a try:
cpio -ivBumldI /dev/rmt/c1t2d0s0
After watching all the WARNING messages go by, look at the directory junk1.
IT WILL BE EMPTY.
This occurs when unpacking only, and the archive is actuclly good (I unpacked
it on a 3.1.1 system, and it worked)
Is YOUR cpio like this one?
# ls -l /bin/cpio
-r-xr-xr-x 1 bin bin 38020 Jun 20 1988 /bin/cpio
# sum /bin/cpio
4022 75 /bin/cpio
Well, UNIX developers, what's the story? Got a fix?
Vince Hatem (att!attibr!vch)
&
Mike Matthews (att!attibr!atti01!mjm)
PS: Please respond to Mike, as I'll be gone after Firday...
--
Vincent C. Hatem
e-mail: {any Action Central site || att}!attibr!vch
snail-mail: AT&T International, 1200 Mt. Kemble Ave, Basking Ridge, NJ 07920
tele: +1-201-953-7959 ------ Gruezi wohl! -------
Technical Details
Message-ID:
<153@attibr.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!rutgers!bellcore!faline!thumper!ulysses!attibr!vchShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!rutgers!bellcore!faline!thumper!ulysses!attibr!vch From: vch@attibr.UUCP (Vincent C. Hatem) Newsgroups: comp.bugs.sys5,comp.unix.wizards Subject: Bug in SysVr3.2.1 cpio ?????? Keywords: doesn't work right Message-ID: <153@attibr.UUCP> Date: 23 Feb 89 22:22:39 GMT Organization: AT&T Home for the Criminally Insane Lines: 56