🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.sun
Article #12431

getwd problems

#12431
From: Eric S. Johnson
Date: Wed, 03 May 1989 10:15
31 lines
1636 bytes
Has anyone else had this problem? After lack of use for a few minutes our
diskless workstations will return the following when asked to pwd:

	pwd: getwd: cannot stat ..

In fact, we get getwd: cannot stat .. message for any use of the getwd
library routine at this point. 

A simple cd $cwd will clear things up, but some folks here are still quite
annoyed because of this problem.  One of the reasons for their concern is
that if your login shell loses its path, no new shelltools can be
initiated.

A cd to any rooted path will make the problem clear up. 

This does not seem to happen on the fileservers, or on systems with 3.X
based NFS code..

Facts:
SunOS 4.0.1 running on diskless 3/50/60/110's. 

Any idea why this happens? Any idea how to make it stop? 

Eric Johnson
<esj@ufl.edu>

[[ Are you running the automounter?  I didn't think it could unmount a
partition if you were still "cd"-ed there, but anything is possible.  It
could also be some strange NFS cacheing problems (I've seen quite a few
bits of bizarre NFS behavior under 4.0.1).  Next time, try running "sync"
and see if that clears up the problem.  --wnl ]]
Technical Details
Message-ID: <8904201853.AA14029@bikini.cis.ufl.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!uw-beaver!rice!sun-spots-request

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!uw-beaver!rice!sun-spots-request
From: esj@ufl.edu (Eric S. Johnson)
Newsgroups: comp.sys.sun
Subject: getwd problems
Keywords: SunOS
Message-ID: <8904201853.AA14029@bikini.cis.ufl.edu>
Date: 3 May 89 10:15:21 GMT
Sender: usenet@rice.edu
Organization: Sun-Spots
Lines: 31
Approved: Sun-Spots@rice.edu
Original-Date: Thu, 20 Apr 89 14:53:11 EDT
X-Sun-Spots-Digest: Volume 7, Issue 263, message 7 of 9