Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Jul 2005 16:38:14 +0300
From:      zlatozar <zlatozar@gmail.com>
To:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Deleted /var/db directory
Message-ID:  <6fda187205073106383c29c3d2@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi all,

I accedently delete /var/db directory. Shame!
I found a way to recover structure:

1) /usr/sbin/mtree -deU -f /etc/mtree/BSD.var.dist -p /var
2) and then I recreate the log files looking at the /etc/newsyslog.conf.

That saved me a reinstall !
But now I can't update my ports.=20
Is there a way to recover my db of all installed ports? How I can
reinstall all my ports? Will reinstall helps?
=20
Thanks in advance!

Regards,
Zlatozar

----------------------------------------=20
        (__)       FreeBSD
   \\\  ' ' , )     =20
      \ /   \  ^  =20
       .\ ._/_) =20
"I'm not a great OS; I'm just a good OS with great ideas."



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6fda187205073106383c29c3d2>