Path: utzoo!attcan!uunet!wa3wbu!john From: john@wa3wbu.UUCP (John Gayman) Newsgroups: comp.unix.microport Subject: Re: How to recover programs from install disks Summary: installit Message-ID: <636@wa3wbu.UUCP> Date: 1 Jun 90 11:17:25 GMT References: <1990May31.153301.2562@monymsys.uucp> Organization: WA3WBU, Marysville,PA Lines: 35 In article <1990May31.153301.2562@monymsys.uucp>, david@monymsys.uucp (David Kozinn) writes: > While playing around with the accounting facilities on my Sys V/386 system, I > managed to clobber /usr/lib/acct/acctcon2, one of the programs used to > process accounting records. While I've backed up any useful data on the > system, I never did a full system backup because I figured that I could always > recover any clobbered programs from the installation disks. Well, I tried to > do that today and I just can't figure out how. Obviously, I don't want to When you execute pkginstall, it actually just goes and runs a shell script called /etc/installit. Looking at this script you can see there are several forms of cpio it will use depending on what you were doing. Mostly they are pretty similar and will serve your purpose. Here they are from installit: cpio -iu /dev/null cpio -icBdmu $1 /dev/null cpio -icBdmu