From: Anderson Pereira Ataides <anderson.pa@persogo.com.br>
To: Lista dosemu <linux-msdos@vger.kernel.org>
Subject: dosemu and CLIPPER locks (again)
Date: Fri, 31 Jan 2003 18:12:30 -0200 [thread overview]
Message-ID: <03013118123001.01190@anderson.cdc.net> (raw)
Hi all,
Ok it's a boring thing, but I have to tell you some experience I had with
this issue.
dosem insists in not seeing Windows locks. Note that dosemu is accessing dbf
file in local Linux filesystem and Windows can not see dosemu file locks. The
problem still occurs between two Linux workstation one accessing locally an
other via NFS.
A friend (from this list) suggested me access dbf via smbmounted volume. I
decided to try it and bingo. It worked but I noticed something wrong. Using
DBU I opened a dbf file in dosem and Windows "recognized" locked file and
gave me a warning and did nod display file (that was expected). When I opened
a file in Windows, the DBU (in dosemu) displayed an error message (Corruption
detected) and aborted.
I tried to hack mfs.c an saw some comments about locking. My conclusion is
that this problem will not be solved between windows and Linux, because they
do not "speak" same language when topic is locking. I saw there is a piece of
code extracted from samba source an comment was "I don't know why it's
there... Someone is playing games with lock/unlock". So I thought: samba team
probably have problem too. How do they solve this problem? Do they cope with
locks keeping track of locks themselves instead of locking linux filesystem?
Unhappy with this situation I tried to use FlagShip (a language similar to
CLIPPER). Their documentation says that dbf files can not be accessed
simultaneously from Windows (DOS) and Linux because of locking issues. I
ignored this comment and compíled a piece of program and result was the same
that in dosemu: Windows files did not see FlagShip locks.
Do you think we can solve it?
Hope my comments can help dosemu development team.
Ooops! Almost forgot to tell you my configuration:
Conectiva Linux 7.0
kernel 2.4.18 (compiled myself)
dosemu 1.1.4.9 (compiled myself)
samba 2.2.7a (compiled myself)
MS-DOS 7 (win98)
[]s
Anderson Pereira Ataides
-
To unsubscribe from this list: send the line "unsubscribe linux-msdos" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
reply other threads:[~2003-01-31 20:12 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=03013118123001.01190@anderson.cdc.net \
--to=anderson.pa@persogo.com.br \
--cc=linux-msdos@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox