From owner-freebsd-questions@FreeBSD.ORG Sun Jul 31 13:38:33 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9EA4B16A41F for ; Sun, 31 Jul 2005 13:38:33 +0000 (GMT) (envelope-from zlatozar@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id B0F0743D62 for ; Sun, 31 Jul 2005 13:38:14 +0000 (GMT) (envelope-from zlatozar@gmail.com) Received: by zproxy.gmail.com with SMTP id 8so689082nzo for ; Sun, 31 Jul 2005 06:38:14 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=jqj5qwGDX5Kf3jdhsYtICktrdCM86BP0j/5cZlmeZilb04l1A1XBK9QAF1cg6FJjLeyzWe8vBwHbOs6IgYVVWY0CrpGz0l9ZB3klrZPn7rhgVBxqHEvAfdrX3N6FNjN7oUkou7noIDqZ8mjX7Xs37rCOzUrYZcIRcimI0QfQKdE= Received: by 10.36.71.2 with SMTP id t2mr4530609nza; Sun, 31 Jul 2005 06:38:14 -0700 (PDT) Received: by 10.36.4.11 with HTTP; Sun, 31 Jul 2005 06:38:14 -0700 (PDT) Message-ID: <6fda187205073106383c29c3d2@mail.gmail.com> Date: Sun, 31 Jul 2005 16:38:14 +0300 From: zlatozar To: FreeBSD Questions Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: Deleted /var/db directory X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: zlatozar List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 Jul 2005 13:38:33 -0000 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."