*BSD News Article 11641


Return to BSD News archive

Received: by minnie.vk1xwt.ampr.org with NNTP
	id AA1840 ; Tue, 23 Feb 93 15:00:32 EST
Path: sserve!manuel.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!think.com!enterpoop.mit.edu!ai-lab!hal.gnu.ai.mit.edu!mycroft
From: mycroft@hal.gnu.ai.mit.edu (Charles Hannum)
Newsgroups: comp.os.386bsd.questions
Subject: Re: an overwritten file
Date: 21 Feb 1993 23:55:56 GMT
Organization: /etc/organization
Lines: 21
Message-ID: <1m94qcINN1eb@life.ai.mit.edu>
References: <1m92d4INNstu@shelley.u.washington.edu>
NNTP-Posting-Host: hal.ai.mit.edu


In article <1m92d4INNstu@shelley.u.washington.edu>
ehammers@stein.u.washington.edu (Erick Hammersmark) writes:
>
> Hypothetically speaking, if some really stupid person (and I mean
> *really* stupid) accidentally overwrite a file (say, for example,
> /usr/bin/man), and say this hypothetical person didn't have the disk
> space for the source distribution, what could this fellow do, short
> of reinstalling?

If you put the bindist files (bin01.*) in /tmp, the following should
work:

  cat /tmp/bin01.* | uncompress | cpio -iadm usr/bin/man

(BTW, the fact that you made a mistake does not make you stupid.)

-- 
 \  /   Charles Hannum, mycroft@ai.mit.edu
 /\ \   PGP public key available on request.  MIME, AMS, NextMail accepted.
Scheme  White heterosexual atheist male (WHAM) pride!