From owner-freebsd-questions Tue Jun 12 15:12:23 2001 Delivered-To: freebsd-questions@freebsd.org Received: from dell.dannyland.org (dell.dannyland.org [64.81.36.13]) by hub.freebsd.org (Postfix) with ESMTP id B6F7237B407 for ; Tue, 12 Jun 2001 15:12:15 -0700 (PDT) (envelope-from dannyman@toldme.com) Received: by dell.dannyland.org (Postfix, from userid 1001) id 1A6C15C2A; Tue, 12 Jun 2001 15:12:22 -0700 (PDT) Date: Tue, 12 Jun 2001 15:12:22 -0700 From: dannyman To: Drew Tomlinson Cc: "FreeBSD Questions (E-mail)" Subject: Re: How to Restore /var Tree? Message-ID: <20010612151221.H99558@toldme.com> References: <5CD46247635BD511B6B100A0CC3F0239259F87@ldcmsx01.lc.ca.gov> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <5CD46247635BD511B6B100A0CC3F0239259F87@ldcmsx01.lc.ca.gov>; from drewt@writeme.com on Tue, Jun 12, 2001 at 09:44:51AM -0700 X-Loop: djhoward@uiuc.edu 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 On Tue, Jun 12, 2001 at 09:44:51AM -0700, Drew Tomlinson wrote: > I made a major "booboo". In an attempt to move my /var file system (is this > the right term?) I deleted it. This 4.3 machine was built recently and I > hadn't implemented a backup strategy yet. So, is there a way to rebuild the > default /var file system from source without rebuilding the entire system or > doing it all by hand? I might do it by hand but I don't know what the > layout is and I don't have another machine to look at. Any advice or > suggestions other than not to delete /var in the first place and do backups? > :) Your best off constructing /var tree based on another existing system. Failing that, you can "reinstall" the distributions for your system without clobbering anything important ... but, uhmmm, do this, first: cp -Rp /etc /etc_saveme Then, like, if the install clobbers your passwd files or the like, you can just move the old ones back in place. Either way, you've got some scarey thinking work cut out for you. Congratulations! You live and learn. :) -danny To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message