Re: How to change Dosemu files lock scheme?

Reinhard Karcher
2004-03-19T07:17:15Z

On Thu, Mar 18, 2004 at 04:56:42PM -0300, Flávio Eler de Melo wrote
> Anyone has an idea of where in Dosemu sources I can find the section
> concerning files lock scheme?
>
> I?ve got a trouble with files lock scheme in Dosemu. I have a Clipper
> database served by a Slackware NFS server. When I access this database from
> two different remote clients running a Clipper application under FreeDos
> with Dosemu, a certain record inserted in the database by one client is
> overwritten by another record inserted by the other one.
> I figured out by means of a friend advice that this is a problem of the file
> lock scheme, namely: the Dosemu file lock process is based upon an Heuristic
> method so that one Clipper Application client running under an instance of
> Dosemu does not detects that another Dosemu is already locking a file via
> LAN for recording some data.
>

Which NFS-version do you use? You need at least nfsV3 for locking.

Reinhard