🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Vincent C. Hatem Thu, 23 Feb 1989 22:22
Bug in SysVr3.2.1 cpio ??????
#978
Author: Vincent C. Hatem
Date: Thu, 23 Feb 1989 22:22
56 lines
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! -------
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads