Messages in this thread | | | Date | Sat, 27 Feb 1999 11:22:49 -0500 (EST) | From | "Steven N. Hirsch" <> | Subject | Re: lockd does not work as expected |
| |
On Sat, 27 Feb 1999, Ruben Schattevoy wrote:
> Trond Myklebust wrote: > > > > Hi, > > > > 'flock' does not and will not ever work other than for local file > > locking. This is consistent with existing practice on other UNIX > > systems. For locking over NFS or other networking filesystems, use > > true POSIX locks using the 'fcntl' or 'lockf' API. > > > > Thanks a lot. I'll try to replace the flock system > call by any of the others. Actually flock worked > perfectly as long as I just use solaris nodes. So > the linux system is not "consistent with existing > practice on other UNIX's".
Yes, the semantics are not consistant across platforms. AIX and Digital Unix 4.x also seem to support flock() over NFS. Which Unices _don't_ support it (just for curiousity)?
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |