SPUG: File locking with flock and NFS
Alex Algard
algard at cardomain.com
Thu Apr 19 11:28:12 CDT 2001
This thread slipped under my radar, but in case anyone still cares, I can
confirm that was the case as of Nov/00 at least. We tried to "use fcntl" on
an all-Linux network where each server/client had patches of nfsd and
nfslock up-to-date at the time, and the flock function would not
successfully maintain file locks under NFS (files would be written to
simultaneously).
________________________
Alex Algard
CarDomain Networks, Inc.
425-820-2244 x111 | fax: 425-820-5951
algard at cardomain.com
> > On Apr 4, 2001 @ 10:13am, Thomas Whitney wrote:
> >
> > I am developing Perl applications where I need to do file
> > locking. These will be running on SunOS 5.5.1 with a NFS
> > file server. All the books and references I
> > have researched say that flock will not work with NFS, but none
> > offer any alternatives. Does anybody know if this is true, and if
> > so what alternatives are there?
> >
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
POST TO: spug-list at pm.org PROBLEMS: owner-spug-list at pm.org
Subscriptions; Email to majordomo at pm.org: ACTION LIST EMAIL
Replace ACTION by subscribe or unsubscribe, EMAIL by your Email-address
For daily traffic, use spug-list for LIST ; for weekly, spug-list-digest
Seattle Perl Users Group (SPUG) Home Page: http://www.halcyon.com/spug/
More information about the spug-list
mailing list