[6171] in Athena Bugs
vax 7.1H: attach
daemon@ATHENA.MIT.EDU (qjb@ATHENA.MIT.EDU)
Sat Oct 6 17:05:34 1990
From: qjb@ATHENA.MIT.EDU
Date: Sat, 6 Oct 90 17:05:20 -0400
To: bugs@ATHENA.MIT.EDU
System name: STEPHEN-KING
Type and version: CVAXSTAR 7.1H
Display type: SM
What were you trying to do?
detach an explicit filesystem by directory using
filename completion from the shell
What's wrong:
**=> /mit/qjb <=**
STEPHEN-KING<33>% detach /mit/watchmaker/
detach: Filesystem "/mit/watchmaker/" is not attached
Exit 20 detach /mit/watchmaker/
**=> /mit/qjb <=**
STEPHEN-KING<34>% detach /mit/watchmaker
detach: /afs/.athena.mit.edu/contrib/watchmaker detached
What should have happened:
attach should be smart enough to know that a pathname
ending in / is a directory.
Caveat: Usually, the trailing / means to follow a
symbolic link. Clearly this behavior is not generally
desirable for attach. I would suggest that attach simply
remove the trailing slash rather than resolving the
symbolic link. In any case, this caveat only effects
filesystems of type AFS.