Re: File locking in Linux?

Steven N. Hirsch (shirsch@adelphia.net)
Fri, 16 Oct 1998 18:05:01 -0400 (EDT)


On Fri, 16 Oct 1998, Greaves Tristan TM wrote:

> Hi all,
>
> A brief question really. What is the status of file locking support
> in Linux at the moment? Is there any?

The usual suspects, fcntl and flock, are available. I believe that SysV
mandatory locking has been supported since 2.0 as well (though I've never
used it).

Thanks to Bill Hawes and HJ Liu, fcntl works just dandy over NFS mounts,
too!

Steve

-
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/