Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Aug 2003 00:08:07 -0400
From:      John De Boskey <jwd@bsdwins.com>
To:        Stable List <freebsd-stable@freebsd.org>
Cc:        Current List <freebsd-current@freebsd.org>
Subject:   'magic' symlink support
Message-ID:  <20030810040807.GA26220@BSDWins.Com>

next in thread | raw e-mail | index | archive | help
Hi Folks,

   We've been experimenting with magic symlinks. The first patch
referred to below is a straight port of the patch in the netbsd
pr database:

http://www.netbsd.org/cgi-bin/query-pr-single.pl?number=1781

   For FreeBSD, the patch against -stable is at:

http://people.freebsd.org/~jwd/mlinks/freebsd-magic-patches


   The second patch applies on top of the first and provides
the ability to follow magic symlinks which are based upon values
in the user environment (@env_XXXX).

http://people.freebsd.org/~jwd/mlinks/env-magic-patches


   I have some very small patches against a few of the various shells 
since normalization of how the environment is kept is required
for this set.  I will get these up later this week.  Amoung other
things, this patch allows for some very interesting abilities within
the developement environment.  It is worth noting that this patch
also fixes the problem of "ps -e" showing stale environment variable
values.

   These still need to be ported/applied to -current.  Please give
them a try on -stable. Comments welcome.

-John


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030810040807.GA26220>