all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michael Olson <mwolson@gnu.org>
To: Chong Yidong <cyd@stupidchicken.com>
Cc: Emacs Development Discussions <emacs-devel@gnu.org>
Subject: Re: Fixing dired hangs when NFS mount goes AWOL
Date: Wed, 5 Oct 2011 14:59:24 -0700	[thread overview]
Message-ID: <CAN4ruPhxsowYrxqiyuUU2zZ45xNgz1zv-_1t+75h02v0kC1wsg@mail.gmail.com> (raw)
In-Reply-To: <87mxdf3z8u.fsf@stupidchicken.com>

The check is only skipped if the directory you're trying to insert
into dired is remote.  If the dir is local, it will attempt the check,
and the 'df' call will hang because it's waiting on info from the NFS
filesystem.

On Wed, Oct 5, 2011 at 2:27 PM, Chong Yidong <cyd@stupidchicken.com> wrote:
> Michael Olson <mwolson@gnu.org> writes:
>
>> Would you consider adding "-l" to the list of default arguments for
>> `directory-free-space-args'?  This will fix an issue where attempting
>> to open dired buffers with ls-lisp enabled hangs due to an AWOL NFS
>> mount.  Considering that the check is skipped if the current directory
>> is on a remote filesystem, I think this is a reasonable default.
>
> If the check is skipped for remote directories, how does the hang occur?
>



-- 
Michael Olson  |  http://mwolson.org/



  reply	other threads:[~2011-10-05 21:59 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-05 18:50 Fixing dired hangs when NFS mount goes AWOL Michael Olson
2011-10-05 21:27 ` Chong Yidong
2011-10-05 21:59   ` Michael Olson [this message]
2011-10-05 22:14     ` Glenn Morris
2011-10-05 22:34       ` Michael Olson
2011-10-05 22:55         ` Glenn Morris
2011-10-05 23:14           ` Glenn Morris
2011-10-05 23:27             ` Michael Olson
2011-10-05 23:31               ` Michael Olson
2011-10-06 12:25               ` Stefan Monnier
2011-10-06 13:18                 ` Michael Albinus
2011-10-06 13:25                   ` Eli Zaretskii
2011-10-06 15:22                   ` Stefan Monnier
2011-10-06 17:58                     ` Michael Albinus
2011-10-06 21:18                       ` Stefan Monnier
2011-10-07 11:43                         ` Michael Albinus
2011-10-07 13:41                           ` Stefan Monnier
2011-10-06 18:45           ` Michael Olson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAN4ruPhxsowYrxqiyuUU2zZ45xNgz1zv-_1t+75h02v0kC1wsg@mail.gmail.com \
    --to=mwolson@gnu.org \
    --cc=cyd@stupidchicken.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.