From owner-freebsd-hackers@FreeBSD.ORG Sun Nov 5 11:03:47 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 14FF816A40F; Sun, 5 Nov 2006 11:03:47 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from tide.yandex.ru (tide.yandex.ru [213.180.200.37]) by mx1.FreeBSD.org (Postfix) with ESMTP id C62E543D8F; Sun, 5 Nov 2006 11:03:38 +0000 (GMT) (envelope-from bu7cher@yandex.ru) Received: from YAMAIL (tide.yandex.ru) by mail.yandex.ru id ; Sun, 5 Nov 2006 14:03:23 +0300 Received: from [82.211.152.12] ([82.211.152.12]) by mail.yandex.ru with HTTP; Sun, 5 Nov 2006 14:03:23 +0300 (MSK) Date: Sun, 5 Nov 2006 14:03:23 +0300 (MSK) From: "Andrey V. Elsukov" Sender: bu7cher@yandex.ru Message-Id: <454DC4FB.000001.19509@tide.yandex.ru> MIME-Version: 1.0 X-Mailer: Yamail [ http://yandex.ru ] Errors-To: bu7cher@yandex.ru To: dillon@apollo.backplane.com In-Reply-To: <200611050208.kA5288ol011368@apollo.backplane.com> References: <454C55BD.000003.22283@webmail11.yandex.ru> <200611050208.kA5288ol011368@apollo.backplane.com> X-Source-Ip: 82.211.152.12 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org, joel@freebsd.org Subject: Re: Yet another magic symlinks implementation X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: bu7cher@yandex.ru 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 11:03:47 -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. Yes, Matt. Some time ago i've ported Df's variant symlinks too :) http://butcher.heavennet.ru/patches/kernel/varsym/ This task was declared on the ideas page: http://www.freebsd.org/projects/ideas/#p-magicsymlinks But i don't see an interest in this feature among commiters. :( > 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... Yes, i think varsyms can be usefull in build enviroments. Somebody spoke that varsyms can be usable in a cluster or jailed enviroments. But i think, that it is necessary to change a priority of levels. The system level must have a hight priority, and unprivileged users can not override system variables. For a NetBSD's magiclinks i see only one scope - build enviroment. -- WBR, Andrey V. Elsukov