[5137] in SIPB bug reports

home help back first fref pref prev next nref lref last post

lndir makes mistakes

daemon@ATHENA.MIT.EDU (ghudson@MIT.EDU)
Sun Feb 5 11:50:27 1995

From: ghudson@MIT.EDU
Date: Sun, 5 Feb 1995 11:50:54 -0500
To: bug-sipb@MIT.EDU


Sal, try doing an lndir of /afs/sipb/project/sipb-athena/discuss.
You'll notice the following errors:

/afs/sipb/project/sipb-athena/discuss/libds/ets: did this directory all ready.
/afs/sipb/project/sipb-athena/discuss/server/config.h: No such file or directory
/afs/sipb/project/sipb-athena/discuss/utils/et: did this directory all ready.
/afs/sipb/project/sipb-athena/discuss/utils/ss: did this directory all ready.
/afs/sipb/project/sipb-athena/discuss/utils/usp: did this directory all ready.

The problems are that (a) /afs/sipb/project/sipb-athena/discuss has
symlinks like et -> utils/et which confuse lndir's directory hashing,
and symlinks like server/config.h -> ../include/config.h which lndir
won't copy because ../include/config.h doesn't exist yet (it's
generated from config.h.sed).

Incidentally, lndir's name is also a bit suboptimal.  There's an X
program called lndir which does the same thing (and also fails on the
discuss source tree, if that makes you happier, since it follows
symlinks) in a slightly different way, such that it's highly annoying
when you get the X version of lndir instead of the SIPB version (you
get lots of symlinks made in the current directory).


home help back first fref pref prev next nref lref last post