From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.devel Subject: Re: Emacs Hangs on Filesystem Operations on Stale NFS Date: Wed, 13 Jun 2018 20:09:03 +0200 Message-ID: <874li65zk0.fsf@gmx.de> References: <1727545582523435cab149c2bc857b40@alexander.shukaev.name> <1250e91f-c46a-68f8-d5f9-0c4f7e40a5a9@Alexander.Shukaev.name> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1528913255 11059 195.159.176.226 (13 Jun 2018 18:07:35 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 13 Jun 2018 18:07:35 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jun 13 20:07:31 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fTAB8-0002ku-8G for ged-emacs-devel@m.gmane.org; Wed, 13 Jun 2018 20:07:31 +0200 Original-Received: from localhost ([::1]:36106 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fTADF-0007ya-Bi for ged-emacs-devel@m.gmane.org; Wed, 13 Jun 2018 14:09:41 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49583) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fTAD7-0007tX-7R for emacs-devel@gnu.org; Wed, 13 Jun 2018 14:09:34 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fTAD4-0000j4-3g for emacs-devel@gnu.org; Wed, 13 Jun 2018 14:09:33 -0400 Original-Received: from mout.gmx.net ([212.227.17.22]:36167) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fTAD3-0000ce-OS for emacs-devel@gnu.org; Wed, 13 Jun 2018 14:09:30 -0400 Original-Received: from detlef.gmx.de ([212.86.45.194]) by mail.gmx.com (mrgmx102 [212.227.17.168]) with ESMTPSA (Nemesis) id 0MQu9K-1ffleO1b7m-00UJqO; Wed, 13 Jun 2018 20:09:06 +0200 In-Reply-To: (Stefan Monnier's message of "Wed, 13 Jun 2018 10:23:34 -0400") X-Provags-ID: V03:K1:DQZNgU0c9qHnelzHPOWRNZGFE6z6qaXBpZ5tCcb+SI/u+10Q2iM RMgeYVJhxVo113E6FUJ8RpDcJWEIh6WowDZEojtDvRTrnAYtaR5F7Q8YKaHkRfRz4v1YIHU rt/AwzjTo1LhpkHkdGxFQMuTaPhCe/+YZ8WgByV6pSGhw0KOOX1PVcjRyiY6BUbtwerZPbW qolVkZ4VQzhL/XUTDzZXg== X-UI-Out-Filterresults: notjunk:1;V01:K0:omasCDSQ1ro=:jsZQiK/H6k09lG4OOaBTKd x9kCKtrFpWXaca6XIJjPN6zQNmPIV+WEQ4sHd442uTm8VrsdCzUJa6H9wBz+5yG43rnJPnnSm SpUKXAr/AHyqG7kpEPwqfWuCYY6XLzPUtfR0P8FI9PPxumxz/GeEFxNnuF1wSZGNqZnb2OGht by+vXokSF1Pwl+jzjae/yXgdfXFg//olqJTXv7e1A2U5thKf53TpU1cqeP+exlJg226p8SNuv WP0rPWPjpNxxbJ73mr9UK9wgDMfcUlNLPVuAV9XDA4p+hCD9b74OPlwhl84EuFqViL4ihvfEW yxUk7zgh2HAaUAkYjKgfDO0e5ojoZZoQVVXQxxc6rmRWy+GMDa/g5ggtGnvI6dDBtuIeJ4mRj 0AKuMdsHZe8Ml3BJF1+8o3WEumvR7cJqAFAnBjWeqp7UaHvTdIHeswQJt6x1o36HF9soU0YpL paBVVvAzpg4ehm5nA9kZvFWXsaFif6AoqeVumkoGA//YpSmZPG9x87Y+3OAn3rzkni3o1/Qh9 orcLrJilIm7cM/1qyScfno2DrP2rLMlmCL4IV3rewF/2jWg/1cGcx+uBiOKQ/UiGOEiAR6y8x RmjyS3Ov0isHpVlwjIGmyfZNwLJ9ToeewQPJ1Y4l8LcMjA9s7WY7JKeqzkPO9GdZnYmI+tr43 USaslTSEQCVPS1WbpDWzWiw+R6fawU2mUbdA++DxNE3/usJ4+BxZ0c7uQHjFbf8BoleKM5Zv7 fUATWcwzNstCL7PgjgkcD7OZw2gXeSsOrFey4ko+/e83K4mvCpEAtaeJs3SMf7iC5RbNSZWw X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 212.227.17.22 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:226300 Archived-At: Stefan Monnier writes: Hi Stefan, >> Isn=E2=80=99t that what TRAMP does behind the scene, though? > > Indeed, and someone could write an "NFS file name handler" so you could > use something like "/nfs:/...". It might even be reasonably easy > for Tramp to provide that (since I believe GVFS supports NFS access). I'm not quite sure whether your proposal is just rhetoric. In case you mean it seriously: GVFS ought to have an nfs backend, called gvfsd-nfs. See gvfs(7). But it doesn't seem to be installed by default, at least Ubuntu's gvfs-backends package does not contain it. (It seems to be distributed by Debian's gvfs-backends package, 'tho). However, I don't believe it is necessary to use GVFS. Something like the mock method in tramp-test.el, slightly adapted, would serve already, I believe. > But it won't help when Emacs accesses to NFS files via normal OS calls > rather than via Tramp. Sigh. > Stefan Best regards, Michael.