From owner-freebsd-questions Tue Nov 2 13:28:18 1999 Delivered-To: freebsd-questions@freebsd.org Received: from mojave.sitaranetworks.com (mojave.sitaranetworks.com [199.103.141.157]) by hub.freebsd.org (Postfix) with ESMTP id 7AD5215466 for ; Tue, 2 Nov 1999 13:28:12 -0800 (PST) (envelope-from grog@lemis.com) Message-ID: <19991102151626.11852@mojave.sitaranetworks.com> Date: Tue, 2 Nov 1999 15:16:26 -0500 From: Greg Lehey To: Ben Smithurst Cc: Scott Worthington , 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> <19991101135438.34003@mojave.sitaranetworks.com> <19991102191512.A8576@strontium.scientia.demon.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <19991102191512.A8576@strontium.scientia.demon.co.uk>; from Ben Smithurst on Tue, Nov 02, 1999 at 07:15:13PM +0000 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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