From owner-freebsd-questions Wed Oct 27 14:50:31 1999 Delivered-To: freebsd-questions@freebsd.org Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by hub.freebsd.org (Postfix) with ESMTP id B55C414F8E for ; Wed, 27 Oct 1999 14:50:23 -0700 (PDT) (envelope-from grog@freebie.lemis.com) Received: (grog@localhost) by mojave.worldwide.lemis.com (8.9.3/8.6.12) id QAA02895; Wed, 27 Oct 1999 16:51:32 -0400 (EDT) Message-ID: <19991027165131.02287@mojave.worldwide.lemis.com> Date: Wed, 27 Oct 1999 16:51:31 -0400 From: Greg Lehey To: Scott Worthington , freebsd-questions@FreeBSD.ORG Subject: Re: Location of vinum /var/tmp/vinum_history References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.89i In-Reply-To: ; from Scott Worthington on Wed, Oct 27, 1999 at 01:37:56PM -0700 WWW-Home-Page: http://www.lemis.com/~grog X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wednesday, 27 October 1999 at 13:37:56 -0700, Scott Worthington wrote: > Is it possible to change the default location of the > /var/tmp/vinum_history file? Yes. From vinum(8): ENVIRONMENT VINUM_HISTORY The name of the log file, by default /var/log/vinum_history. > Reason being: my /var is symlinked to /usr/var > and my vinum0 drive is mounted as /usr. Therefore, > at boot time, the /usr volume is not available. > > > > 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. It's not the module (vinum(4)), it's the userland program (vinum(8)). I haven't thought of this issue. Basically, the invocation of vinum(8) in /etc/rc does only one command: start. I hadn't thought it worth capturing this information in a history file somewhere else. I might make it shut up and not mention the fact, though. 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