Hi all,

I'm trying to run a Clipper database program in network mode in DOSEMU. The
program opens some files for exclusive access, assuming that no other
program can open them. This assumption holds true under MSDOS 6.22, Windows
2000 and other network environments. However, two instances of this program,
running in two instances of DOSEMU on one Linux machine, can open these
files simultaneously, ruining the program logic. The machine runs Debian
Linux 3.0, kernel version 2.2.20. The DOSEMU is the latest version, 1.2, the
DOS is MS DOS 6.22. The database files are located on the DOSEMU drive C: ,
which is a linux directory, with a symlink " ~/.dosemu/drives/c " pointing
to it. I tried moving the files to a lredir-ed drive with no success. Tried
to run SHARE.EXE in AUTOEXEC.BAT - again no success. This problem is
apparently not Clipper-related, because it can be easily reproduced with two
instances of a simple QBASIC program, which opens a file in the following
fashion:

OPEN "FILE.TMP" FOR BINARY ACCESS READ WRITE LOCK READ WRITE AS #1

Then the two instances easily open the file simultaneously, which shouldn't
be possible.

Besides, DOSEMU gives me the following message:

SHAREing doesn't work on drive C: (probably NFS volume?)

This is probably related to the problem. I wonder, why SHAREing doesn't
work? I'm sure I don't have any NFS volumes in my system. Any suggestions?

TIA,
Vassil Daskalov



-
To unsubscribe from this list: send the line "unsubscribe linux-msdos" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to