diff options
author | David Howells | 2018-04-06 15:17:23 +0200 |
---|---|---|
committer | David Howells | 2018-04-09 22:18:58 +0200 |
commit | 37ab636880cbc95ba87a5790bee23a1c813089c6 (patch) | |
tree | 931c5387eeefbab0b326b62532644dd6a32c78f0 /fs/afs/fsclient.c | |
parent | afs: Implement @sys substitution handling (diff) | |
download | kernel-qcow2-linux-37ab636880cbc95ba87a5790bee23a1c813089c6.tar.gz kernel-qcow2-linux-37ab636880cbc95ba87a5790bee23a1c813089c6.tar.xz kernel-qcow2-linux-37ab636880cbc95ba87a5790bee23a1c813089c6.zip |
afs: Implement @cell substitution handling
Implement @cell substitution handling such that if @cell is seen as a name
in a dynamic root mount, then the name of the root cell for that network
namespace will be substituted for @cell during lookup.
The substitution of @cell for the current net namespace is set by writing
the cell name to /proc/fs/afs/rootcell. The value can be obtained by
reading the file.
For example:
# mount -t afs none /kafs -o dyn
# echo grand.central.org >/proc/fs/afs/rootcell
# ls /kafs/@cell
archive/ cvs/ doc/ local/ project/ service/ software/ user/ www/
# cat /proc/fs/afs/rootcell
grand.central.org
Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'fs/afs/fsclient.c')
0 files changed, 0 insertions, 0 deletions