Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Mar 2003 11:22:19 -0800
From:      Jordan K Hubbard <jkh@queasyweasel.com>
To:        Guido van Rooij <guido@gvr.org>
Cc:        John <jwd@bsdwins.com>, Hackers List <freebsd-hackers@FreeBSD.ORG>, wjw@withagen.nlm, dg@root.com
Subject:   Re: magic symbolic links (ideas/patches?)
Message-ID:  <1B9E0D7C-5589-11D7-B1F6-000393BB9222@queasyweasel.com>
In-Reply-To: <20030313105557.GA84120@gvr.gvr.org>

next in thread | previous in thread | raw e-mail | index | archive | help
So did David Greenman.   He did a fully general variant symbolic link 
implementation but never, AFAIK, released it.  David? :-)

- Jordan

On Thursday, March 13, 2003, at 02:55 AM, Guido van Rooij wrote:

> IIRC Willem-Jan Withagen has done this years ago.
>
> I Cc ed him.
>
> -Guido
>
> On Wed, Mar 12, 2003 at 07:39:52PM -0500, John wrote:
>> Hi Folks,
>>
>>    I have a need to implement a highly specific variant usage of
>> what are commonly referred to as magic symlinks, ie:
>>
>>    /src -> /.src/$ARCH/src
>>
>>    where $ARCH needs to come from the user environment.
>>
>>    A related patchset from NetBSD (1995) can be seen here:
>>
>> http://www.netbsd.org/cgi-bin/query-pr-single.pl?number=1781
>>
>>    In my specific implementation, the value of $ARCH will ALWAYS
>> be 3 characters (Not having implemented anything yet, and to
>> avoid possibly playing the userland game, I was thinking of
>> adding a field to the proc structure and having the setenv/putenv
>> functions place the value there via a sysctl, thus allowing a
>> very simple interface... short sighted?).
>>
>>    If anyone has any comments, or patches hanging around for
>> this type of implementation, I would appreciate a pointer to them.
>>
>> Many, Many Thanks,
>> John
>>
>> To Unsubscribe: send mail to majordomo@FreeBSD.org
>> with "unsubscribe freebsd-hackers" in the body of the message
>
> -- 
> Guido van Rooij		 	      |  Phone: ++31 653 994 773
> Madison Gurkha, Technology Think-Tank |
> guido@madison-gurkha.com 	      |  FreeBSD committer
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-hackers" in the body of the message
>
--
Jordan K. Hubbard
Engineering Manager, BSD technology group
Apple Computer


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?1B9E0D7C-5589-11D7-B1F6-000393BB9222>