Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Nov 1999 13:54:38 -0500
From:      Greg Lehey <grog@lemis.com>
To:        Ben Smithurst <ben@scientia.demon.co.uk>, Scott Worthington <SWorthington@hsag.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Location of vinum /var/tmp/vinum_history
Message-ID:  <19991101135438.34003@mojave.sitaranetworks.com>
In-Reply-To: <19991030164832.A12516@strontium.scientia.demon.co.uk>; from Ben Smithurst on Sat, Oct 30, 1999 at 04:48:32PM %2B0100
References:  <s8170041.022@internal.hsag.com> <19991030164832.A12516@strontium.scientia.demon.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Saturday, 30 October 1999 at 16:48:32 +0100, Ben Smithurst wrote:
> Scott Worthington wrote:
>
>> Okay, I see that you can set the environment
>> variable VINUM_HISTORY to point to the
>> correct location of the file.
>>
>> How do you set an environment variable at boot
>> time?  I am assuming that at boot up the vinum
>> module reads VINUM_HISTORY.
>
> You should be able to put it in /etc/rc.conf, e.g.
>
> VINUM_HISTORY=/foo; export VINUM_HISTORY
>
> though I have never tried this, but I don't see why it wouldn't work.

Yes, that should work, modulo location.  You shouldn't put it in
/etc/rc.conf, though: first, you shouldn't change that, and secondly
it would only apply to the startup if you put it there.  Try
/etc/profile instead.

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