From owner-freebsd-stable Thu Jun 27 21:12:27 1996 Return-Path: owner-stable Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id VAA04639 for stable-outgoing; Thu, 27 Jun 1996 21:12:27 -0700 (PDT) Received: from meno.uchicago.edu (meno.uchicago.edu [128.135.21.34]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id VAA04629 for ; Thu, 27 Jun 1996 21:12:25 -0700 (PDT) Received: from meno.uchicago.edu (localhost [127.0.0.1]) by meno.uchicago.edu (8.7.5/8.7.3) with ESMTP id XAA13680 for ; Thu, 27 Jun 1996 23:14:40 -0500 (CDT) Message-Id: <199606280414.XAA13680@meno.uchicago.edu> To: freebsd-stable@FreeBSD.org Subject: getwd/nfs problem MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <13676.835935279.1@meno.uchicago.edu> Date: Thu, 27 Jun 1996 23:14:40 -0500 From: steve farrell Sender: owner-stable@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk please let me know if this is the wrong list to post this to... i'm trying to use cvs w/freebsd, and have managed to track down a persistent error: cvs [update aborted]: cannot get working directory: No such file or directory to a failure of the getwd() function. this function seems to work fine for local disks, but nfs mounted disks (server = solaris 2.5/sparc), such as my home directory, simply give this error. i've confirmed that this works fine solaris->solaris nfs mount, so it is not a problem with cvs per se. the text "No such file or directory" is actually what is returned by getwd(). there are no symbolic links involved. having read the getwd() manpage, i see that it is denigrated, so i thought i might be able to work around it and actually submit a patch or something productive like that... but there are some functions that use getwd() not just to confirm that the current directory is readable, but to compare the cwd with some other. couldn't find any alternative to getwd() for this need, so i figured i'd stop and write this email. cvs 1.8.1 / freebsd-stable (~ 2 weeks old since last sup/build) (sidenote -- gnu stuff out of the box doesn't seem to like the default /bin/sh... any harm in replacing it with bash?) thanks much --