From owner-freebsd-questions Mon Nov 1 12:17:16 1999 Delivered-To: freebsd-questions@freebsd.org Received: from yana.lemis.com (yana.lemis.com [192.109.197.140]) by hub.freebsd.org (Postfix) with ESMTP id 008E2152C6 for ; Mon, 1 Nov 1999 12:16:57 -0800 (PST) (envelope-from grog@lemis.com) Received: from mojave.sitaranetworks.com ([199.103.141.157]) by yana.lemis.com (8.8.8/8.8.8) with ESMTP id GAA29949; Tue, 2 Nov 1999 06:46:50 +1030 (CST) (envelope-from grog@lemis.com) Message-ID: <19991101135438.34003@mojave.sitaranetworks.com> Date: Mon, 1 Nov 1999 13:54:38 -0500 From: Greg Lehey To: Ben Smithurst , Scott Worthington Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Location of vinum /var/tmp/vinum_history Reply-To: Greg Lehey References: <19991030164832.A12516@strontium.scientia.demon.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <19991030164832.A12516@strontium.scientia.demon.co.uk>; from Ben Smithurst on Sat, Oct 30, 1999 at 04:48:32PM +0100 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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