Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!cbmvax!uunet!rbj From: rbj@uunet.UU.NET (Root Boy Jim) Newsgroups: comp.lang.perl Subject: Re: locking dbm files Keywords: dbmopen, dbmclose, flock Message-ID: <125602@uunet.UU.NET> Date: 15 Mar 91 05:44:42 GMT References: <1991Mar14.205242.23220@convex.com> <125585@uunet.UU.NET> <1991Mar14.235335.1712@convex.com> Organization: UUNET Communications Services, Falls Church, VA Lines: 17 In article <1991Mar14.235335.1712@convex.com> tchrist@convex.COM (Tom Christiansen) writes: ?From the keyboard of rbj@uunet.UU.NET (Root Boy Jim): ?:File locking is easy, unless, of course you are using NFS. ? ?Use lockf (fcntl) instead of flock then. And risk hanging forever ?should the lockdaemon go south. Actually, I haven't had too much ?trouble with it in the last few months on this particular machine, ?but on other convexen here there have been occasional anomalies. WHAT lock daemon? It seems that vendors which are stupid enuf to implement dual universes can't be bothered to update their NFS. BTW, what does NFS do with O_CREAT|O_EXCL? Don't tell me, I think I know... -- [rbj@uunet 1] stty sane unknown mode: sane