[OpenAFS] inserting a mount point

Charles Clancy security@xauth.net
Tue, 12 Mar 2002 17:34:26 -0600 (CST)


> is there any way, given the path
>
>  b/c
>
> where c is a mount point and b is a directory, to replace directory b
> with a mount point named "b", without having to unmount and remount c?

1. fs mkm y vol.b
2. fs mkm y/c vol.c
3. mv b z
4. fs mkm b vol.b
5. fs rmm y

You're not unmounting and remounting c, but between steps 3 and 4 things
are temporarily inaccessable.  Just do it really fast.  :)

[ t charles clancy ]--[ tclancy@uiuc.edu ]--[ www.uiuc.edu/~tclancy ]