🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.sun
Article #11548

NFS vs. flock?

#11548
From: Philip Kos
Date: Tue, 14 Mar 1989 19:18
16 lines
1267 bytes
Another question from the peanut gallery.

The very same applications I spoke of in my previous posting are in need
of some way to control concurrent access to a file in a remote (NFS) fs.
They have been calling a simple interface function that uses flock, and
it's pretty clear that this doesn't work (hey, I'm not a Sun guru, I just
have to act like one :-( ).  I can change the way the function tries to
lock the file, but I don't know of any way to make it work.  Can any of
you suggest something for me?  (Moving the file onto the client is not an
option for physical security reasons, plus there are several clients
banging on this file simultaneously which is why it needs to be locked in
the first place.)

Still trying to get it right,

Phil Kos
Technical Details
Message-ID: <2856@osiris.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!uw-beaver!rice!sun-spots-request

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!uw-beaver!rice!sun-spots-request
From: osiris!phil@aplcen.UUCP (Philip Kos)
Newsgroups: comp.sys.sun
Subject: NFS vs. flock?
Keywords: Software
Message-ID: <2856@osiris.UUCP>
Date: 14 Mar 89 19:18:31 GMT
Sender: usenet@rice.edu
Organization: The Johns Hopkins Hospital, Information Systems
Lines: 16
Approved: Sun-Spots@rice.edu
Original-Date: 1 Mar 89 22:17:44 GMT
X-Sun-Spots-Digest: Volume 7, Issue 199, message 9 of 16