From owner-freebsd-hackers Thu Mar 13 11:22:11 2003 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1366237B404 for ; Thu, 13 Mar 2003 11:22:09 -0800 (PST) Received: from jkh-gw.queasyweasel.com (adsl-64-173-3-158.dsl.sntc01.pacbell.net [64.173.3.158]) by mx1.FreeBSD.org (Postfix) with ESMTP id AA24943F75 for ; Thu, 13 Mar 2003 11:22:07 -0800 (PST) (envelope-from jkh@queasyweasel.com) Received: from queasyweasel.com (narcissus.freebsd.com [64.173.15.99]) by jkh-gw.queasyweasel.com (8.12.6/8.12.5) with ESMTP id h2DJLUsg034758; Thu, 13 Mar 2003 11:21:31 -0800 (PST) (envelope-from jkh@queasyweasel.com) Date: Thu, 13 Mar 2003 11:22:19 -0800 Subject: Re: magic symbolic links (ideas/patches?) Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v551) Cc: John , Hackers List , wjw@withagen.nlm, dg@root.com To: Guido van Rooij From: Jordan K Hubbard In-Reply-To: <20030313105557.GA84120@gvr.gvr.org> Message-Id: <1B9E0D7C-5589-11D7-B1F6-000393BB9222@queasyweasel.com> Content-Transfer-Encoding: 7bit X-Mailer: Apple Mail (2.551) Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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