[Top][All Lists]

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

Re: tramp (2.1.5); Syntax of df wrong in tramp?

From: Kevin Rodgers
Subject: Re: tramp (2.1.5); Syntax of df wrong in tramp?
Date: Fri, 10 Mar 2006 16:37:03 -0700
User-agent: Mozilla Thunderbird 0.9 (X11/20041105)

Michael Albinus wrote:
Tramp doesn't use "df" itself. It comes from dired, which calls
dired-free-space-program (Emacs 21) or directory-free-space-program
(Emacs 22) via call-process.

Since Tramp 2.1.5, call-process and start-process have been extended to
run processes also on remote hosts. This is desired, because it
doesn't make sense that dired checks the size of a local file system,
when it works on a remote one.

"df" supports the -P option also on Solaris; one must use the Posix
version "/usr/xpg4/bin/df". You should customize tramp-remote-path in
order to have "/usr/xpg4/bin" on top (maybe this should be the default?).

You might be able to use `getconf PATH` on the remote host to get a
maximally portable value for tramp-remote-path.

Extending dired-insert-directory in Emacs 21 that it understands remote
directories, I'll try to find a fix.

Kevin Rodgers

reply via email to

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