[rescue] netbsd getcwd question
Dave McGuire
mcguire at neurotica.com
Fri Feb 15 23:53:19 CST 2002
On February 15, Joshua D Boyd wrote:
> On my SS2 with NetBSD, I keep getting the following message:
> cd: getcwd() failed: Result too large
>
> I mainly see it when logged in as a normal user working in a file system
> mounted from NFS and going ./configures or makes. Usually the path that
> I started in (who knows where it went in the midst of working), is something
> like /export/bsdsrc/apache_1.3.23.
>
> I don't remeber if I've seen this message while working as root on a local
> file system, but I'm not sure of that. However, I haven't been able to
> intentionally make the message appear while as root on a local file system.
>
> Is this a serious problem?
Well, when you call getcwd(), you pass it a pointer to your buffer and
int telling getcwd() how large your buffer is. Is it possible that
something "clever" in a makefile is recursing, doing nested mkdirs,
and winding up with really long paths?
-Dave
--
Dave McGuire
St. Petersburg, FL "Less talk. More synthohol." --Lt. Worf
More information about the rescue
mailing list