Lost am I (FreeBSD4.10)

Matthew Seaman m.seaman at infracaninophile.co.uk
Sat Nov 20 00:58:35 PST 2004


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

-- 
Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey         Marlow
Tel: +44 1628 476614                                  Bucks., SL7 1TH UK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20041120/85c04111/attachment.bin


More information about the freebsd-questions mailing list