[17368] in Athena Bugs
sun4 8.3.19: attach
daemon@ATHENA.MIT.EDU (Jacob Morzinski)
Sun Nov 14 03:24:11 1999
Message-Id: <199911140824.DAA02679@hodge-podge.mit.edu>
To: bugs@MIT.EDU
Date: Sun, 14 Nov 1999 03:23:58 -0500
From: "Jacob Morzinski" <jmorzins@MIT.EDU>
System name: hodge-podge.mit.edu
Type and version: Ultra-5_10 8.3.19 (with mkserv)
Display type: m
Shell: /bin/sh
Window manager: fvwm2
What were you trying to do?
I couldn't decide whether to report this as a bug. Feel
free to bitbucket..
Attach does some nonobvious things when dealing with NFS.
Multiple invocations of attach fail, rather than
succeeding. Additionaly, detaching trickier than I
expect it to be -- I can't replace "attach" with "detach"
and repeat the command line.
What's wrong:
% ls -ld /sipb-nfs
ls: /sipb-nfs: No such file or directory
% attach -n -e sipb-nfs:/redhat
attach: CHARON2.MIT.EDU:/redhat attached to /sipb-nfs/redhat for filesystem sipb-nfs:/redhat
% attach -n -e sipb-nfs:/redhat
Cannot attach locker on /sipb-nfs/redhat: directory /sipb-nfs/redhat is not on root filesystem.
Exit 2
% detach -n -e sipb-nfs:/redhat
Cannot attach locker on /sipb-nfs/redhat: directory /sipb-nfs/redhat is not on root filesystem.
Exit 2
% detach -n /sipb-nfs/redhat
detach: sipb-nfs:/redhat detached
What should have happened:
Attach should tell me that sipb-nfs:/redhat is attached to
/sipb-nfs/redhat even if I invoke attach multiple times.
Please describe any relevant documentation references:
It is interesting to note that when I run detach without
having sipb-nfs attached, I get output that suggests that
detach is _trying_ to do the right thing:
% detach -n -e sipb-nfs:/redhat
sipb-nfs:/redhat: Unmount failed:
umount: warning: /sipb-nfs/redhat not in mnttab
umount: /sipb-nfs/redhat no such file or directory
detach: sipb-nfs:/redhat detached