*BSD News Article 12690


Return to BSD News archive

Newsgroups: comp.os.386bsd.development
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!agate!howland.reston.ans.net!zaphod.mps.ohio-state.edu!darwin.sura.net!convex!grefen
From: grefen@convex.com (Stefan Grefen)
Subject: Re: A challenge to all true kernel hackers - conditional symlinks.
Message-ID: <1993Mar10.105652.25929@convex.com>
Sender: usenet@convex.com (news access account)
Nntp-Posting-Host: hydra.convex.com
Organization: CONVEX Computer Corporation, Richardson, Tx., USA
References: <JKH.93Mar9214944@whisker.lotus.ie> <CGD.93Mar9185827@eden.CS.Berkeley.EDU>
Date: Wed, 10 Mar 1993 10:56:52 GMT
X-Disclaimer: This message was written by a user at CONVEX Computer
              Corp. The opinions expressed are those of the user and
              not necessarily those of CONVEX.
Lines: 27

In article <CGD.93Mar9185827@eden.CS.Berkeley.EDU> cgd@eden.CS.Berkeley.EDU (Chris G. Demetriou) writes:
>In article <JKH.93Mar9214944@whisker.lotus.ie> jkh@whisker.lotus.ie (Jordan K. Hubbard) writes:
>[ the idea ... ]
>
>YES, that would be wonderful.  it's the one thing about apollos that
>i *loved*...  thank god you didn't ask for `node_data... 8-)
>
I would love it too ,but ..
>>The question is, is anyone out there game to see what it would take to
>>do this in 386bsd?  I think you'll find getting at the current process
>>environment from namei() somewhat tricky..
>
Where is the problem ?? I think Apollo did it by hacking the library function
open. First do a lstat , if it's a symlink get it , replace all the env
variables endif , than open the file. 
Every Systemcall that uses filenames must be fixed too.
And you have to relink all applications against the new library.
Regards
	Stefan
P.S.
I would prefer a generalized version of the universe concept.


-- 
Stefan Grefen                          Convex Computer GmbH, Frankfurt, Germany
grefen@convex.com		       Phone: +49-69-665270