From owner-freebsd-current@FreeBSD.ORG Sat Aug 9 21:08:24 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7266837B401; Sat, 9 Aug 2003 21:08:24 -0700 (PDT) Received: from bsdone.bsdwins.com (www.bsdwins.com [192.58.184.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8AE6C43F93; Sat, 9 Aug 2003 21:08:23 -0700 (PDT) (envelope-from jwd@bsdwins.com) Received: from bsdone.bsdwins.com (localhost [127.0.0.1]) by bsdone.bsdwins.com (8.12.9/8.12.9) with ESMTP id h7A487dX026490; Sun, 10 Aug 2003 00:08:07 -0400 (EDT) (envelope-from jwd@www.bsdwins.com) Received: (from jwd@localhost) by bsdone.bsdwins.com (8.12.9/8.12.9/Submit) id h7A487Av026489; Sun, 10 Aug 2003 00:08:07 -0400 (EDT) Date: Sun, 10 Aug 2003 00:08:07 -0400 From: John De Boskey To: Stable List Message-ID: <20030810040807.GA26220@BSDWins.Com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i cc: "Jason R. Thorpe" cc: Current List Subject: 'magic' symlink support X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Aug 2003 04:08:24 -0000 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