From owner-freebsd-hackers@FreeBSD.ORG Sun Nov 5 03:02:43 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org 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 4E15016A47E for ; Sun, 5 Nov 2006 03:02:43 +0000 (UTC) (envelope-from dillon@apollo.backplane.com) Received: from apollo.backplane.com (apollo.backplane.com [216.240.41.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id BDEC043DF7 for ; Sun, 5 Nov 2006 02:08:08 +0000 (GMT) (envelope-from dillon@apollo.backplane.com) Received: from apollo.backplane.com (localhost [127.0.0.1]) by apollo.backplane.com (8.13.7/8.13.4) with ESMTP id kA5288IS011369 for ; Sat, 4 Nov 2006 18:08:08 -0800 (PST) Received: (from dillon@localhost) by apollo.backplane.com (8.13.7/8.13.4/Submit) id kA5288ol011368; Sat, 4 Nov 2006 18:08:08 -0800 (PST) Date: Sat, 4 Nov 2006 18:08:08 -0800 (PST) From: Matthew Dillon Message-Id: <200611050208.kA5288ol011368@apollo.backplane.com> To: freebsd-hackers@freebsd.org References: <454C55BD.000003.22283@webmail11.yandex.ru> <17741.9196.102826.208010@bhuda.mired.org> Subject: Re: Yet another magic symlinks implementation X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Nov 2006 03:02:43 -0000 It is interesting to note that DragonFly has had variant symlnks for a long time, but we haven't actually found a use for them yet. No smoking killer app has presented itself. We use varsyms in our RC implementation kind of like uber-environment variables (rclist, rcstart, rcstop, etc), but we don't actually use them in symlinks. Originally I envisioned using variant symlinks as part of a packaging system to allow package environments to be built on the fly, thus allowing multiple versions of libraries to coreside and not have the 'you have to upgrade everything to install one new thing' problem. But that was before we adopted pkgsrc. Pkgsrc doesn't use varsyms, so... The concept is interesting enough that I'm not going to rip it out. -Matt