[comp.emacs] emacs: `getwd' failed: getwd: can't open ...

yedidya@bimacs.BITNET (Yedidya Israel) (12/31/90)

Is anybody out there (not in vacation)? I have a question concerning
getpwd on an NFS-mounted filesystem.

Local  host: bimacs, mv3200, ultrix3.0
remote host: birisc, ds5200, ultrix4.0

Bimacs mounts /u/private from birisc, "mount" says:

birisc:/u/private on /nfs/birisc/u/private type nfs (rw,hard,bg,intr,nosuid,rsize=4096,wsize=4096)

Now:

% ls -l /u/private
lrwxr-xr-x  1 root      21 Dec 26 15:58 /u/private -> /nfs/birisc/u/private
% cd /u/private/x/y/z   # cd /nfs/birisc/u/private yields the same results.
% pwd
/u/private/x/y/z
% emacs
emacs: `getwd' failed: getwd: can't open ...
% ls ..
[works]

All other regular commands (cat, less, ls, cp) works fine.

This situation occurs sometimes, usually after a crash+reboot of the
server, even after umount+mount the situation persists. Why ?

--
| Israel Yedidya, Math & CS Department, Bar-Ilan U, Ramat-Gan, ISRAEL. |
+----------------------------------------------------------------------+
| Internet: yedidya@bimacs.biu.ac.il            Bitnet: yedidya@bimacs |
|           Uucp: ...!uunet!mcvax!humus!bimacs!yedidya                 |
\----------------------------------------------------------------------/
 \--- If someone proves there is no God, I'll stop being religious ---/
  --------------------------------------------------------------------