🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #87204

Re: File Interlocking on NFS

#87204
From: Richard Stallman
Date: Tue, 04 Oct 1994 08:36
24 lines
1476 bytes
This is really several changes which are independent:

* Store the lock file in the same dir as the visited file.
* Store user name and host name in the lock file.
* Use a symlink.

Here's what I think of them:

* Store the lock file in the same dir as the visited file.

This fails if you can write the file but you cannot write its
containing directory.  It also fails on systems with short file names.
I don't see any particular advantage in it.  So I am not making this
change.

* Store user name and host name in the lock file.

This can't hurt; it will help if someone implements the demon, but
until then it does not help.  I think I might as well put this
info into the file.

* Use a symlink.

This can't hurt, but it is just a minor improvement.
Technical Details
Message-ID: <9410040835.AA02592@mole.gnu.ai.mit.edu>
Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!howland.reston.ans.net!math.ohio-state.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!gnu.ai.mit.edu!rms
References: <9410040015.AA16669@owl.HQ.Ileaf.COM>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb2f1,678602bcc07f7901
X-Google-Attributes: gidfb2f1,public
X-Google-ArrivalTime: 1994-10-04 04:17:46 PST
Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!howland.reston.ans.net!math.ohio-state.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!gnu.ai.mit.edu!rms
From: rms@gnu.ai.mit.edu (Richard Stallman)
Newsgroups: gnu.emacs.bug
Subject: Re: File Interlocking on NFS
Date: 4 Oct 1994 04:36:50 -0400
Organization: GNUs Not Usenet
Lines: 24
Sender: daemon@cis.ohio-state.edu
Approved: bug-gnu-emacs@prep.ai.mit.edu
Distribution: gnu
Message-ID: <9410040835.AA02592@mole.gnu.ai.mit.edu>
References: <9410040015.AA16669@owl.HQ.Ileaf.COM>