Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Nov 1999 15:16:26 -0500
From:      Greg Lehey <grog@lemis.com>
To:        Ben Smithurst <ben@scientia.demon.co.uk>
Cc:        Scott Worthington <SWorthington@hsag.com>, freebsd-questions@FreeBSD.ORG
Subject:   Re: Location of vinum /var/tmp/vinum_history
Message-ID:  <19991102151626.11852@mojave.sitaranetworks.com>
In-Reply-To: <19991102191512.A8576@strontium.scientia.demon.co.uk>; from Ben Smithurst on Tue, Nov 02, 1999 at 07:15:13PM %2B0000
References:  <s8170041.022@internal.hsag.com> <19991030164832.A12516@strontium.scientia.demon.co.uk> <19991101135438.34003@mojave.sitaranetworks.com> <19991102191512.A8576@strontium.scientia.demon.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday,  2 November 1999 at 19:15:13 +0000, Ben Smithurst wrote:
> Greg Lehey wrote:
>
>>> Scott Worthington wrote:
>>>
>>>> How do you set an environment variable at boot time?
> [snip rc.conf suggestion]
>>
>> Yes, that should work, modulo location.  You shouldn't put it
>> in /etc/rc.conf, though: first, you shouldn't change that,
>
> What? I thought it was /etc/defaults/rc.conf that we didn't change, and we
> do change /etc/rc.conf.... Did I miss something somewhere?

Oops, brain fart.  I was thinking of /etc/rc.  Sorry.

>> and secondly it would only apply to the startup if you put it there.
>> Try /etc/profile instead.
>
> I guessed from the bit of Scott's message (quoted above) that he was
> starting vinum at some point in the boot process when /etc/rc.conf would
> have been read. Maybe I guessed wrong...

You can start vinum in /etc/rc, but at that time /tmp is mounted
read-only, so nothing gets written anyway.  It's more interesting to
keep the rest of the history in one place.

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?19991102151626.11852>