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:31:46 -0700

On Wed, Oct 5, 2011 at 4:27 PM, Michael Olson <address@hidden> wrote:
> 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.

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

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



reply via email to

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