Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757017AbXI2Tkk (ORCPT ); Sat, 29 Sep 2007 15:40:40 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756073AbXI2Tkd (ORCPT ); Sat, 29 Sep 2007 15:40:33 -0400 Received: from emailgw02.pnl.gov ([192.101.109.34]:55771 "EHLO emailgw02.pnl.gov" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754940AbXI2Tkd (ORCPT ); Sat, 29 Sep 2007 15:40:33 -0400 X-IronPort-AV: E=Sophos;i="4.21,213,1188802800"; d="scan'208";a="33387933" User-Agent: Microsoft-Entourage/11.3.3.061214 Date: Sat, 29 Sep 2007 12:40:23 -0700 Subject: FW: [patch 01/02] vfs: variant symlinks From: "Schmidt, Kenneth P" To: Jan Dittmer CC: Al Viro , "linux-kernel@vger.kernel.org" Message-ID: Thread-Topic: [patch 01/02] vfs: variant symlinks Thread-Index: AcgB/IYsTK/HhodiTkeR1Um15LJY2gA045OhAAAfvaE= In-Reply-To: Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit X-OriginalArrivalTime: 29 Sep 2007 19:40:31.0960 (UTC) FILETIME=[98C59D80:01C802D0] Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1161 Lines: 27 On 9/28/07 11:22 AM, "Jan Dittmer" wrote: > Ken Schmidt wrote: >> Variant symlinks add the ability to embed variables in to the >> contents of symbolic links so their targets can change based on >> outside sources (user environment, uts, filesystems, etc.) > > Could you elaborate why this is needed and what part cannot > be solved in userspace (linkfarm on tmpfs or intelligent > scripts)? Several networked filesystems (i.e. afs) have similar concepts. This just moves it into the vfs layer so that it can be used on all of them and even local filesystems. The best example of how this can be useful is to allow a heterogeneous environment which uses a common filesystem. For example, both x86_64 and power systems could mount a root nfs share and execute with a common set of configurations and data, but the binary directories (bin and lib) could point to architecture specific directories. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/