Hi,
Can someone explain why I'm seeing the following on test12-pre7:
bash# /bin/pwd
/bin/pwd: cannot get current directory: No such file or directory
bash# vdir /proc/self/.
...
lrwxrwxrwx 1 root root 0 Dec 7 14:52 cwd -> /net/raistlin/raistlin-v2.4/linux-ebsa285 (deleted)
...
lrwxrwxrwx 1 root root 0 Dec 7 14:52 root -> /
...
bash# vdir
... <complete listing of directory> ...
bash# cat /proc/mounts
/dev/root / ext2 rw,noatime 0 0
/proc /proc proc rw 0 0
/dev/hda3 /var ext2 rw,nodiratime 0 0
/dev/hda5 /usr ext2 rw,noatime 0 0
/dev/hda6 /home ext2 rw 0 0
none /dev/pts devpts rw 0 0
none /dev/shm shm rw 0 0
automount(pid482) /net/flint autofs rw 0 0
automount(pid499) /net/raistlin autofs rw 0 0
raistlin:/usr/src/v2.4 /net/raistlin/raistlin-v2.4 nfs rw,v2,rsize=4096,wsize=4096,hard,udp,lock,addr=raistlin 0 0
Rebooting the machine and trying again caused this weirdness to disappear.
First time around, the network wasn't initially available when autofs
started.
_____
|_____| ------------------------------------------------- ---+---+-
| | Russell King [email protected] --- ---
| | | | http://www.arm.linux.org.uk/personal/aboutme.html / / |
| +-+-+ --- -+-
/ | THE developer of ARM Linux |+| /|\
/ | | | --- |
+-+-+ ------------------------------------------------- /\\\ |
On Thu, 7 Dec 2000, Russell King wrote:
> Hi,
>
> Can someone explain why I'm seeing the following on test12-pre7:
>
> bash# /bin/pwd
> /bin/pwd: cannot get current directory: No such file or directory
Directory is unhashed. Normally it means that sucker had been deleted.
> bash# vdir /proc/self/.
> ...
> lrwxrwxrwx 1 root root 0 Dec 7 14:52 cwd -> /net/raistlin/raistlin-v2.4/linux-ebsa285 (deleted)
Ditto.
> ...
> lrwxrwxrwx 1 root root 0 Dec 7 14:52 root -> /
> ...
> bash# vdir
> ... <complete listing of directory> ...
Which means that it is _not_ deleted. Looks like it had been invalidated
for some reason. Try to reproduce that on -test10 - that should be before
NFS changes.