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

Derek Atkins warlord@MIT.EDU
08 Oct 2002 17:00:40 -0400


"Todd M. Lewis" <utoddl@email.unc.edu> writes:

> Also, you might want to look at the "up" utility to copy the contents
> of the original dir2 into the new volume, especially if you have lots
> of complicated ACLs burried down in that subtree.  Up is sort of a
> recursive cp that also knows about and duplicates ACLs.  It's obvious
> when you think about it, but to use "up" effectively, you must have
> sufficient read rights to all the data you're trying to copy.

Why not just use the "rename()" syscall?

mv dir2 dir2.oldversion

Much simpler!  ;)

-derek

-- 
       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