]> git.eshelyaron.com Git - emacs.git/commit
Check, whether an FUSE mount has been broken in Tramp
authorMichael Albinus <michael.albinus@gmx.de>
Tue, 5 Oct 2021 09:27:48 +0000 (11:27 +0200)
committerMichael Albinus <michael.albinus@gmx.de>
Tue, 5 Oct 2021 09:27:48 +0000 (11:27 +0200)
commit5946370cd1d6728f2edd071fa8befc88fd0bd7a7
tree6ead6a95170efb5b89de245b63de1e502c18ee6e
parent90575a6c0c17e88671999867f0773fef5ea516a8
Check, whether an FUSE mount has been broken in Tramp

* lisp/net/tramp-fuse.el (tramp-fuse-mount-timeout): New defconst.
(tramp-fuse-mounted-p): Use it.  Check for a file property instead
of a connection property.
(tramp-fuse-unmount): Dito.

* lisp/net/tramp-sshfs.el (tramp-sshfs-maybe-open-connection):
Do not trust existence of a process, whether the volume is mounted.
lisp/net/tramp-fuse.el
lisp/net/tramp-sshfs.el