Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Sep 2001 21:49:54 -0400
From:      "Matthew Emmerton" <matt@gsicomp.on.ca>
To:        "Nathan Mace" <mace_nathan@uchaswv.edu>
Cc:        "freebsd-questions" <freebsd-questions@FreeBSD.ORG>
Subject:   Re: help!  i "rm -rf /usr/local/share"
Message-ID:  <005c01c13fe4$386ff800$1200a8c0@gsicomp.on.ca>
References:  <20010917203708.55a2438b.mace_nathan@uchaswv.edu> <20010918023241.A681@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help


> On Mon, Sep 17, 2001 at 08:37:08PM -0400, Nathan Mace wrote:
>
> [ BROKEN FORMATTING FIXED ]
>
> > help! i just did a "rm -rf /usr/local/share" as root!!  it was an
accident,
> > i was cycling back though commands i had typed in and wasn't paying
> > attention.  i hit control-c ASAP and i have no idea of how to tell what
> > got deleted!  the buildworld-install world doesn't reinstall over the
> > /usr directory does it?  what can i do?  thanks
>
> Restore from your last backup, of course.  You *do* keep backups, don't
> you?  No?  Oh, dear...

Since it was /usr/LOCAL/share that you blew away, buildworld/installworld
don't touch anything in there.  (In fact, on a fresh system, /usr/local
doesn't exist.)

Most of what is in /usr/local/share is documentation, sample configs and
other tidbits of information that ports and packages install.  You can
probably live without most of the stuff in there, but if you're really
concerned, reinstall any ports/packages to restore what you blew away.

--
Matt Emmerton


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?005c01c13fe4$386ff800$1200a8c0>