all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michael Olson <mwolson@gnu.org>
To: Glenn Morris <rgm@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, 5 Oct 2011 16:31:46 -0700	[thread overview]
Message-ID: <CAN4ruPiXtJwkd9MBVzPm5P8cr8cpbF7s2tXob5ZA4RDgDw4E_Q@mail.gmail.com> (raw)
In-Reply-To: <CAN4ruPhVcMJ47a4eOZOMVDdo=J+g0cJxD7fx=ePrQVUBO24cxw@mail.gmail.com>

On Wed, Oct 5, 2011 at 4:27 PM, Michael Olson <mwolson@gnu.org> wrote:
> On Wed, Oct 5, 2011 at 4:14 PM, Glenn Morris <rgm@gnu.org> wrote:
>>
>> But, -l is probably not an option for the default, because:
>>
>> cd /path/to/remote/nfs
>> df -l .
>>
>>  -> "df: no file systems processed"
>>
>> which breaks Dired's "total used" line on healthy NFS mounts.
>>
>
> Nuts, I thought (file-remote-p '/some/nfs/mount') would return
> non-nil, but it doesn't.
>
> So it seems like the only viable solution is to give users a way to
> suppress the totals line in ls-lisp's insert-directory, which would
> get rid of the df call.

(Or just customize directory-free-space-args in the first place, which
kind of already has this effect.)

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



  reply	other threads:[~2011-10-05 23:31 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
2011-10-05 23:14           ` Glenn Morris
2011-10-05 23:27             ` Michael Olson
2011-10-05 23:31               ` Michael Olson [this message]
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=CAN4ruPiXtJwkd9MBVzPm5P8cr8cpbF7s2tXob5ZA4RDgDw4E_Q@mail.gmail.com \
    --to=mwolson@gnu.org \
    --cc=cyd@stupidchicken.com \
    --cc=emacs-devel@gnu.org \
    --cc=rgm@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.