afs: Support the AFS dynamic root
Support the AFS dynamic root which is a pseudo-volume that doesn't connect
to any server resource, but rather is just a root directory that
dynamically creates mountpoint directories where the name of such a
directory is the name of the cell.
Such a mount can be created thus:
mount -t afs none /afs -o dyn
Dynamic root superblocks aren't shared except by bind mounts and
propagation. Cell root volumes can then be mounted by referring to them by
name, e.g.:
ls /afs/grand.central.org/
ls /afs/.grand.central.org/
The kernel will upcall to consult the DNS if the address wasn't supplied
directly.
Signed-off-by:
David Howells <dhowells@redhat.com>
Showing
- Documentation/filesystems/afs.txt 17 additions, 0 deletionsDocumentation/filesystems/afs.txt
- fs/afs/dir.c 108 additions, 14 deletionsfs/afs/dir.c
- fs/afs/inode.c 30 additions, 18 deletionsfs/afs/inode.c
- fs/afs/internal.h 8 additions, 4 deletionsfs/afs/internal.h
- fs/afs/mntpt.c 11 additions, 9 deletionsfs/afs/mntpt.c
- fs/afs/super.c 90 additions, 42 deletionsfs/afs/super.c
- net/dns_resolver/dns_query.c 12 additions, 10 deletionsnet/dns_resolver/dns_query.c
Loading
Please register or sign in to comment