Deleted /var/db directory
zlatozar
zlatozar at gmail.com
Sun Jul 31 13:38:33 GMT 2005
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.
Is there a way to recover my db of all installed ports? How I can
reinstall all my ports? Will reinstall helps?
Thanks in advance!
Regards,
Zlatozar
----------------------------------------
(__) FreeBSD
\\\ ' ' , )
\ / \ ^
.\ ._/_)
"I'm not a great OS; I'm just a good OS with great ideas."
More information about the freebsd-questions
mailing list