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 [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to