From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.devel Subject: Re: Fixing dired hangs when NFS mount goes AWOL Date: Wed, 05 Oct 2011 18:55:05 -0400 Message-ID: <5bvcs3kq0m.fsf@fencepost.gnu.org> References: <87mxdf3z8u.fsf@stupidchicken.com> <0jty7nnl1f.fsf@fencepost.gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1317855325 29540 80.91.229.12 (5 Oct 2011 22:55:25 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 5 Oct 2011 22:55:25 +0000 (UTC) Cc: Chong Yidong , Emacs Development Discussions To: Michael Olson Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 06 00:55:20 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RBaMt-0006UJ-VD for ged-emacs-devel@m.gmane.org; Thu, 06 Oct 2011 00:55:16 +0200 Original-Received: from localhost ([::1]:35112 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RBaMt-0001DT-D4 for ged-emacs-devel@m.gmane.org; Wed, 05 Oct 2011 18:55:15 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:56445) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RBaMp-0001DD-Tu for emacs-devel@gnu.org; Wed, 05 Oct 2011 18:55:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RBaMo-0001Gw-Uf for emacs-devel@gnu.org; Wed, 05 Oct 2011 18:55:11 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:36494) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RBaMo-0001Gr-R7 for emacs-devel@gnu.org; Wed, 05 Oct 2011 18:55:10 -0400 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1RBaMm-0003EU-6l; Wed, 05 Oct 2011 18:55:08 -0400 X-Spook: keyhole target JFK secure Steve Case Vince Foster David X-Ran: [yfOD`:z?Q=bwkHkE~(2D4s;=mO (Michael Olson's message of "Wed, 5 Oct 2011 15:34:53 -0700") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.10 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:144594 Archived-At: Michael Olson wrote: > insert-directory (version in ls-lisp.el is used) I'm surprised this succeeds if there is a missing NFS mount. You're saying the NFS mount is outside the directory being listed, but still hangs df? > Apparently it's an issue in how df is implemented, in that it still > attempts to stat all existing mounts before narrowing the listing by > the directory param. Wow, really? That seems like an odd way for it to be implemented. Quick search gives eg http://lists.gnu.org/archive/html/bug-coreutils/2003-03/msg00014.html which suggests that df is aware of such issues and tries to avoid them.