Re: tramp readlink slowdown on find-file

Michael Albinus <[email protected]>
Newsgroups gmane.emacs.tramp
Message-ID <[email protected]>
Prashant Tak <[email protected]> writes:

Hi Prashant,

Pls keep [email protected] in Cc, for the archives.

>> When you connect to the remote host directly via ssh from a shell, does it
>> take the same time to call '\readlink --canonicalize-missing /a/b/c/xyz.md'?
>
> No, that works instantly. Is there a way to disable multiple file existence
> checks that tramp does?

Tramp caches the result of a check for remote-file-name-inhibit-cache
seconds. Increase that value (it defaults to 10), or set it to nil.

> Prashant

Best regards, Michael.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.