emacs-devel
[Top][All Lists]
Advanced

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

Re: Proposed patch: allow user to disable lockfile creation


From: Paul Eggert
Subject: Re: Proposed patch: allow user to disable lockfile creation
Date: Thu, 28 Jul 2011 12:21:47 -0700
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

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.



reply via email to

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