Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 03 Jul 1998 19:28:32 -0700
From:      Mike Smith <mike@smith.net.au>
To:        Garance A Drosihn <drosih@rpi.edu>
Cc:        hackers@FreeBSD.ORG
Subject:   Re: Variant Link implementation, continued 
Message-ID:  <199807040228.TAA07480@antipodes.cdrom.com>
In-Reply-To: Your message of "Fri, 03 Jul 1998 16:13:48 EDT." <v04011723b1c2dd579a5c@[128.113.24.47]> 

next in thread | previous in thread | raw e-mail | index | archive | help
> At 9:16 PM -0700 7/2/98, Mike Smith wrote:
> >> I think there would be less headaches all-around if symlinks did not
> >> key off environment variables, although I do think we'd want them to
> >> key off of something as simple to adjust as environment variables are.
> >
> > This expresses my opinion quite succinctly.  Overloading the
> > environment space to also control variant links would be a Very
> > Bad Idea, simply because the risk of name collision is too high.
> >
> > Allowing links to indicate that they *should* be keyed off the
> > environment space, OTOH, isn't such a sin.  eg:
> >
> >  ${sysctl:hw.arch} and ${env:USER}
> 
> 
> Now that I've caught up on my sleep a bit, I do think something
> along these lines could be promising.  I can't find Terry's
> earlier suggestion (even though I know I reread it just last
> night), but I think that what I want might not be all that much
> different from what he suggested.
> 
> Let's say there are three namespaces (just to pick a number):
>      sys
>      session
>      process

This is immediately bad, in that you want a name from the 'session' 
namespace to be able to (optionally) override a matching name from the 
'sys' namespace.

My personal preference is *still* to use an isolated portion of the 
parameter space, preferably one not currently used for anything else.

-- 
\\  Sometimes you're ahead,       \\  Mike Smith
\\  sometimes you're behind.      \\  mike@smith.net.au
\\  The race is long, and in the  \\  msmith@freebsd.org
\\  end it's only with yourself.  \\  msmith@cdrom.com



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



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