Date: Thu, 13 Mar 2003 11:55:57 +0100 From: Guido van Rooij <guido@gvr.org> To: John <jwd@bsdwins.com> Cc: Hackers List <freebsd-hackers@freebsd.org>, wjw@withagen.nl Subject: Re: magic symbolic links (ideas/patches?) Message-ID: <20030313105557.GA84120@gvr.gvr.org> In-Reply-To: <20030313003952.GA1800@BSDWins.Com> References: <20030313003952.GA1800@BSDWins.Com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030313105557.GA84120>