Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Mar 2000 09:47:27 +1100
From:      Greg Lehey <grog@lemis.com>
To:        Uriel Ash <unmash@earthlink.net>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Delelted my /var directory during installation
Message-ID:  <20000307094727.C346@mojave.worldwide.lemis.com>
In-Reply-To: <38C1EBDD.3812080B@earthlink.net>; from unmash@earthlink.net on Sun, Mar 05, 2000 at 12:08:45AM -0500
References:  <38C1EBDD.3812080B@earthlink.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000307094727.C346>