Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Jan 2003 12:43:49 +0000 (GMT)
From:      520023893678-0001@t-online.de (P. U. Kruppa)
To:        Len Conrad <LConrad@Go2France.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: how to restore /usr
Message-ID:  <20030117123627.O34441@small.pukruppa.de>
In-Reply-To: <5.1.1.6.2.20030117052127.05831908@mail.go2france.com>
References:  <5.1.1.6.2.20030117052127.05831908@mail.go2france.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 17 Jan 2003, Len Conrad wrote:

> Trying to free up disk space, a user accidentally rm'd /usr instead of
> /usr/ports.
>
> Starting with the cdrom, what is the best way to get the /usr tree back
> onto the disk?
If your system still can boot, you can do
# /stand/sysinstall
--> configure --> Distributions
and select the things you need.
In case you remember config-files you have edited, try to save
them from beeing overwritten by changing their names with mv .
You can rename them afterwards.

For the future:
There are quite simple tools to backup and restore the contents
of your partitions: dump and restore.

Hope that helps,

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

*-----------------------------------*
*        Peter Ulrich Kruppa        *
*          -  Wuppertal -           *
*              Germany              *
*-----------------------------------*

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?20030117123627.O34441>