emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fixing dired hangs when NFS mount goes AWOL


From: Michael Olson
Subject: Re: Fixing dired hangs when NFS mount goes AWOL
Date: Wed, 5 Oct 2011 16:27:56 -0700

On Wed, Oct 5, 2011 at 4:14 PM, Glenn Morris <address@hidden> 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.

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]