Re: [PATCH 05/20] afs: Implement @sys substitution handling
From: Christoph Hellwig
Date: Fri Apr 06 2018 - 02:38:03 EST
On Thu, Apr 05, 2018 at 09:30:04PM +0100, David Howells wrote:
> Implement the AFS feature by which @sys at the end of a pathname component
> may be substituted for one of a list of values, typically naming the
> operating system. Up to 16 alternatives may be specified and these are
> tried in turn until one works. Each network namespace has[*] a separate
> independent list.
>
> Upon creation of a new network namespace, the list of values is
> initialised[*] to a single OpenAFS-compatible string representing arch type
> plus "_linux26". For example, on x86_64, the sysname is "amd64_linux26".
>
> [*] Or will, once network namespace support is finalised in kAFS.
Good luck making that work with the dcache without creating a total
mess.