Re: FW: [patch 01/02] vfs: variant symlinks

Previous thread: 2.6.22/realtek bug in hardware, any kernel work-around? by Justin Piszcz on Saturday, September 29, 2007 - 2:37 pm. (5 messages)

Next thread: [FYI] 2.6.23-rc8-git3 misc observations by Bill Davidsen on Saturday, September 29, 2007 - 3:48 pm. (1 message)
To: Jan Dittmer <jdi@...>
Cc: Al Viro <viro@...>, linux-kernel@vger.kernel.org <linux-kernel@...>
Date: Saturday, September 29, 2007 - 3:40 pm

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: Schmidt, Kenneth P <kenneth.schmidt@...>
Cc: Jan Dittmer <jdi@...>, Al Viro <viro@...>, linux-kernel@vger.kernel.org <linux-kernel@...>
Date: Saturday, September 29, 2007 - 5:59 pm

That would hardly be a portable NFS environment. Boot a Solaris, or
older Linux kernel, and watch your applications barf...

This sort of stuff belongs in the automounter, not the kernel.

Trond

-

To: Schmidt, Kenneth P <kenneth.schmidt@...>
Cc: Jan Dittmer <jdi@...>, linux-kernel@vger.kernel.org <linux-kernel@...>
Date: Saturday, September 29, 2007 - 4:33 pm

mount --bind /usr/$(ARCH)/bin /usr/bin
mount --bind /usr/$(ARCH)/lib /usr/lib

or corresponding ones in /etc/fstab. BFD...
-

Previous thread: 2.6.22/realtek bug in hardware, any kernel work-around? by Justin Piszcz on Saturday, September 29, 2007 - 2:37 pm. (5 messages)

Next thread: [FYI] 2.6.23-rc8-git3 misc observations by Bill Davidsen on Saturday, September 29, 2007 - 3:48 pm. (1 message)