Lost am I (FreeBSD4.10)

Kevin D. Kinsey, DaleCo, S.P. kdk at daleco.biz
Sat Nov 20 13:52:17 PST 2004


Matthew Seaman wrote:

>On Fri, Nov 19, 2004 at 11:19:05PM -0500, gazwacker the kazmaster wrote:
>  
>
>>Annoyed am I. For mine computer hath been tampered upon by a fool
>>which hath deleted mine "/usr/share" folder. I have the
>>installation CD, now how would I re-install my purloined portfolio?
>>(If no one knows how to do that, a copy of the "/usr/share/misc/termcap" file would suffice)
>>    
>>
>
>Grab the system sources via cvsup, and do a 'make world' cycle as
>described here:
>
>    http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html
>
>and here
>
>    http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html
>
>That will reinstall the contents of /usr/share along with all of the
>rest of the system -- sure, it's a sledge hammer, but it will crack
>this nut very effectively.  Nb. you should always compile a new kernel
>to go with the new system -- having kernel and world out of synch
>tends to cause a number of oddities of behaviour in the system.
>
>	Cheers,
>
>	Matthew
>  
>

Lo!  A large hammer indeed.

Might not he simply changeth to /usr/src/share (if he indeed hath
such) and typest "make install" as root?

Kevin Kinsey


More information about the freebsd-questions mailing list