From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.devel Subject: Re: Proposed patch: allow user to disable lockfile creation Date: Thu, 28 Jul 2011 12:21:47 -0700 Organization: UCLA Computer Science Department Message-ID: <4E31B6CB.3040905@cs.ucla.edu> References: <87ei1bqi8p.fsf@uwakimon.sk.tsukuba.ac.jp> Reply-To: Emacs-Devel devel NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1311880925 30251 80.91.229.12 (28 Jul 2011 19:22:05 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 28 Jul 2011 19:22:05 +0000 (UTC) Cc: dave@boostpro.com, johnw@newartisans.com, "Stephen J. Turnbull" , schwab@linux-m68k.org, emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jul 28 21:22:00 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QmW9g-0005ZS-Jq for ged-emacs-devel@m.gmane.org; Thu, 28 Jul 2011 21:22:00 +0200 Original-Received: from localhost ([::1]:59979 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QmW9g-0004CP-5y for ged-emacs-devel@m.gmane.org; Thu, 28 Jul 2011 15:22:00 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:33184) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QmW9c-0004C9-Lm for emacs-devel@gnu.org; Thu, 28 Jul 2011 15:21:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QmW9b-0007aE-Ns for emacs-devel@gnu.org; Thu, 28 Jul 2011 15:21:56 -0400 Original-Received: from smtp.cs.ucla.edu ([131.179.128.62]:58712) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QmW9b-0007a8-Id; Thu, 28 Jul 2011 15:21:55 -0400 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id 55A0839E8109; Thu, 28 Jul 2011 12:21:54 -0700 (PDT) X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu Original-Received: from smtp.cs.ucla.edu ([127.0.0.1]) by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id opdUc5zIMl+d; Thu, 28 Jul 2011 12:21:53 -0700 (PDT) Original-Received: from [131.179.64.200] (Penguin.CS.UCLA.EDU [131.179.64.200]) by smtp.cs.ucla.edu (Postfix) with ESMTPSA id D254B39E80CF; Thu, 28 Jul 2011 12:21:53 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.18) Gecko/20110621 Fedora/3.1.11-1.fc14 Thunderbird/3.1.11 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 131.179.128.62 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:142466 Archived-At: On 07/28/11 09:46, Richard Stallman wrote: > Maybe NFS provides a way to have multiple people editing in one file system. > It is possible to determine whether NFS is in use. These days, advisory file locks (fcntl with F_GETLK and F_SETLK) should be reliable enough over NFS (and on local file systems) on practical GNU and GNU-like machines, and should be able to do everything that Emacs's symlink lock files do. (This wasn't true way back when the symlink scheme was originally introduced.) If we used advisory file locks, I daresay we could get rid of those symlinks.