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 [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message
>

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

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to