Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 02 Jul 1998 21:16:22 -0700
From:      Mike Smith <mike@smith.net.au>
To:        Garance A Drosihn <drosih@rpi.edu>
Cc:        Mike Smith <mike@smith.net.au>, Thomas David Rivers <rivers@dignus.com>, jkh@time.cdrom.com, hackers@FreeBSD.ORG
Subject:   Re: Variant Link implementation, continued 
Message-ID:  <199807030416.VAA03798@antipodes.cdrom.com>
In-Reply-To: Your message of "Thu, 02 Jul 1998 18:10:44 EDT." <v0401171bb1c1acb4f7a9@[128.113.24.47]> 

next in thread | previous in thread | raw e-mail | index | archive | help
> 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}

but this creates a new union space with yet another different syntax.

  ${space=sysctl, mib=hw.arch} and ${space=env, var=USER}

perhaps?

-- 
\\  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?199807030416.VAA03798>