Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Oct 1999 16:51:31 -0400
From:      Greg Lehey <grog@lemis.com>
To:        Scott Worthington <SWorthington@hsag.com>, freebsd-questions@FreeBSD.ORG
Subject:   Re: Location of vinum /var/tmp/vinum_history
Message-ID:  <19991027165131.02287@mojave.worldwide.lemis.com>
In-Reply-To: <s8170041.022@internal.hsag.com>; from Scott Worthington on Wed, Oct 27, 1999 at 01:37:56PM -0700
References:  <s8170041.022@internal.hsag.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.
>
> <break to read man page>
>
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991027165131.02287>