From owner-freebsd-questions Mon Mar 6 17:12:37 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mojave.worldwide.lemis.com (dialup98.sydney.net.au [202.61.208.38]) by hub.freebsd.org (Postfix) with ESMTP id B341C37C119 for ; Mon, 6 Mar 2000 17:12:29 -0800 (PST) (envelope-from grog@mojave.worldwide.lemis.com) Received: (from grog@localhost) by mojave.worldwide.lemis.com (8.9.3/8.9.3) id JAA00411; Tue, 7 Mar 2000 09:47:27 +1100 (EST) (envelope-from grog) Date: Tue, 7 Mar 2000 09:47:27 +1100 From: Greg Lehey To: Uriel Ash Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Delelted my /var directory during installation Message-ID: <20000307094727.C346@mojave.worldwide.lemis.com> Reply-To: Greg Lehey References: <38C1EBDD.3812080B@earthlink.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <38C1EBDD.3812080B@earthlink.net>; from unmash@earthlink.net on Sun, Mar 05, 2000 at 12:08:45AM -0500 WWW-Home-Page: http://www.lemis.com/~grog X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sunday, 5 March 2000 at 0:08:45 -0500, Uriel Ash wrote: > Hi Everyone; > > I just installed FreeBSD and I followed Greg Lehey's advice of not > installing a /var directory. After installation I tar the contents from > /var to /usr/var ( as Greg suggests. I actaully typed what he says in > the Complete BSD book verbatim) and proceeded to remove the /var > directory and all it's contents. It looks like you missed something important. > THe problem is, apparently the tar did not work. All the contents of > /var have gone and none of the files that were originally there are > in the /usr/var directory. > I now get "cant create /var/clean" and similar messages. I dont even > get to log in as root, I get placed there right away, without any > password etc. > How can I get the /var information back and fix up my system again??? The simple answer is "reinstall", if you haven't got anything useful on the system. You can do it without reinstallation, but it's a little more complicated than the original idea of moving the /var directory. Greg -- When replying to this message, please copy the original recipients. For more information, see http://www.lemis.com/questions.html Finger grog@lemis.com for PGP public key See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message