From owner-freebsd-questions Tue Jan 7 10: 6:58 2003 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 9C6D737B401 for ; Tue, 7 Jan 2003 10:06:53 -0800 (PST) Received: from east.ath.cx (catv-50622a7a.nyircatv.broadband.hu [80.98.42.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3A510441C8 for ; Tue, 7 Jan 2003 09:58:09 -0800 (PST) (envelope-from witch@kronos.HomeUnix.com) X-Complaints-To: abuse@kronos.homeunix.com X-SMTP-Authenticated: CRAM-MD5 X-Message-Flag: Ditch the crappy mail client and get a real one! Received: from slave.kronos.homeunix.com (s71ijkm6lq90gewf@slave.kronos.homeunix.com [10.1.1.1]) (authenticated bits=0) by east.ath.cx (8.12.7/8.12.7) with ESMTP id h07HvxRI084983 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK) for ; Tue, 7 Jan 2003 18:57:59 +0100 (CET) (envelope-from witch@slave.east.ath.cx) Received: from slave.east.ath.cx (localhost [127.0.0.1]) by slave.kronos.homeunix.com (8.12.7/8.12.7) with ESMTP id h07Hvx0H039834 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Tue, 7 Jan 2003 18:57:59 +0100 (CET) (envelope-from witch@slave.east.ath.cx) X-Authentication-Warning: slave.east.ath.cx: Host localhost [127.0.0.1] claimed to be slave.east.ath.cx Received: (from witch@localhost) by slave.east.ath.cx (8.12.7/8.12.6/Submit) id h07Hvsji039824; Tue, 7 Jan 2003 18:57:54 +0100 (CET) Date: Tue, 7 Jan 2003 18:57:54 +0100 (CET) From: Andrew Prewett Reply-To: Andrew Prewett To: freebsd-questions@FreeBSD.ORG Subject: Re: Deleted VAR In-Reply-To: Message-ID: <20030107184928.Y51290@slave.east.ath.cx> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Today Kenzo wrote: > Help, I accidently deleted everything in the /var dir. ( fat fingered ). > Is there a way to retrive it? or do i have to reinstall. > I'm now getting alot of error message since it's also a mail server. well > not anymore. You can restore the directory structure -- at least -- with mtree: `mtree -deU -f /etc/mtree/BSD.var.dist -p /var', to make sendmail(?) happy. Don't forget to create the logfiles for syslogd. -andrew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message