[13380] in Athena Bugs
AFS braindeadness...
daemon@ATHENA.MIT.EDU (wchuang@MIT.EDU)
Thu Mar 30 21:15:21 1995
From: wchuang@MIT.EDU
Date: Thu, 30 Mar 95 21:15:16 -0500
To: bugs@MIT.EDU
I have a problem. So does a user named "cjclark", and so does "zeno".
The user created a link by doing:
athena% ln -s \$bindir bin
Under AFS, having a leading '$' in the target of the symbolic link has a
special meaning (for mountpoints, I believe). Anyway, the problem is
that it's not possible to remove such a "link" (AFS no longer considers
it a "link"):
athena% rm -rf bin
athena% fs rmm bin
athena% rmdir bin
all fail... you can just "ls" it, but if you try to use "ls -l" or "ls
-F", or anything which stats the file, it will fail. (i.e.,
stat/fstat/lstat all fail).
If you use '#' or '%' instead of a '$', you will be able to "fs rmm" the
link.
Anyway, the only way to remove this link, is to use "bos salvage" on the
volume (information gleaned from reading the AFS newsgroups).
If you want to see such a sample "link", you can look in:
/mit/wchuang/src
at the "bin" thing there... It was created by doing "ln -s \$bindir bin".
If you want to salvage my volume and remove it, I'd be grateful :-)
-William