Date: Thu, 4 Oct 2001 23:59:10 -0700 (PDT) From: Annelise Anderson <andrsn@andrsn.stanford.edu> To: Mikko Tyolajarvi <mikko@dynas.se> Cc: drew@mykitchentable.net, questions@FreeBSD.ORG Subject: Re: How To Recreate /var Files? Message-ID: <Pine.BSF.4.10.10110042356470.87052-100000@andrsn.stanford.edu> In-Reply-To: <200110050004.f9504fk85972@mikko.rsa.com> References: <5CD46247635BD511B6B100A0CC3F023925A10A@ldcmsx01.lc.ca.gov> <200110050004.f9504fk85972@mikko.rsa.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 4 Oct 2001, Mikko Tyolajarvi wrote: > In local.freebsd.questions you write: > > >In my on-going quest to master FreeBSD, I have made another big mistake. :) > >I was trying to move /var to /usr/var but have only succeeded in deleting > >/var. It's a new install so all I really want to do is recreate the default > >directory structure that is included in a normal install. I have source > >code on the system. What is the way I can do this short of reinstalling > >everything? > > Try something like: > > # cd /var > # mtree -uf /etc/mtree/BSD.var > > $.02, > /Mikko > This kind of problem is why it's nice to have the second CD-ROM, with a live file system on it. It's good when you erase stuff and also when you change ownership and permissions on a bunch of files more with results more disastrous than you expected. Annelise -- Annelise Anderson Author of: FreeBSD: An Open-Source Operating System for Your PC Available from: mall.daemonnews.org and amazon.com Book Website: http://www.bittreepress.com/FreeBSD/introbook/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.10110042356470.87052-100000>