[OpenAFS] Mount points on directories that have already been created

Derek Atkins warlord@MIT.EDU
08 Oct 2002 14:43:09 -0400


Michael Aldrich <maldrich@reserveamerica.com> writes:

> Hi,
> Is it possible to make a mount point under /afs after the directory has 
> already been created? For instance, if I have /afs/.dir1/dir2 and I want to 
> make dir2 a mount point for volume test.volume, can this be acheived without 
> losing content that already exists in dir2?

You need to rename dir2 first.  An AFS mountpoint is really a "special
symlink"[0].  It it not a "mount" as you think of it locally.  You
cannot "mount" a volume on top of an existing directory.  So, no.

> TIA
> Mike

-derek

[0] Yes, you can actually create a mountpoint with "ln -s" if you
provide the correct arguments!
-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord@MIT.EDU                        PGP key available