From: Glenn Morris <rgm@gnu.org>
To: Michael Olson <mwolson@gnu.org>
Cc: Chong Yidong <cyd@stupidchicken.com>,
Emacs Development Discussions <emacs-devel@gnu.org>
Subject: Re: Fixing dired hangs when NFS mount goes AWOL
Date: Wed, 05 Oct 2011 18:55:05 -0400 [thread overview]
Message-ID: <5bvcs3kq0m.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <CAN4ruPhdBLsePG_WNoZJ7NXYCwKM6P0knyq4bt4G9ZyL16-hgQ@mail.gmail.com> (Michael Olson's message of "Wed, 5 Oct 2011 15:34:53 -0700")
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.
next prev parent reply other threads:[~2011-10-05 22:55 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
2011-10-05 22:14 ` Glenn Morris
2011-10-05 22:34 ` Michael Olson
2011-10-05 22:55 ` Glenn Morris [this message]
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5bvcs3kq0m.fsf@fencepost.gnu.org \
--to=rgm@gnu.org \
--cc=cyd@stupidchicken.com \
--cc=emacs-devel@gnu.org \
--cc=mwolson@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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).