public inbox for linux-msdos@vger.kernel.org
 help / color / mirror / Atom feed
From: Anderson Pereira Ataides <anderson.pa@persogo.com.br>
To: linux-msdos@vger.kernel.org
Subject: Re: How to change Dosemu files lock scheme?
Date: Fri, 19 Mar 2004 09:31:01 -0300	[thread overview]
Message-ID: <200403190931.01228.anderson.pa@persogo.com.br> (raw)
In-Reply-To: <Pine.LNX.4.44.0403182348360.5895-100000@pg5.enm.bris.ac.uk>

Flavio,

I told you in a reply to your personal email. Now listening from dosemu 
mantainers do you believe?

You could try a Clipper-like language for Linux like FlagShip, but if you read 
the documentation it says something like this: "do not mix windows and Linux 
workstations acessing the same files. Due to filesystem differences it may 
corrupt your database files". So problem is not only with dosemu.

The "perfect" solution is: use a database like MySQL, and make your 
application access the database, not the filesystem.

[]s
Anderson Pereira Ataides



Em Qui 18 Mar 2004 20:54, Bart Oldeman escreveu:
> On Thu, 18 Mar 2004,  Flávio Eler de Melo wrote:
> > Anyone has an idea of where in Dosemu sources I can find the section
> > concerning files lock scheme?
>
> mfs.c, in src/dosext/mfs, lock_file_region() and share().
>
> Problem is that DOS has 5 lock types whereas Linux only has 2 -- that's
> why we have to use heuristics.
>
> Samba can on the other hand adminstrate all client accesses because it's a
> server but a dosemu file server (serving all dosemus) does not exist
> simply because it's never been an itch to really scratch for the
> developers (I tried to improve a bit for 1.2.0 fixing things that were
> even problematic with just one dosemu running, but gave up after a while).
>
> You can see how files are locked using lsof.
>
> Bart
>
> -
> 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

-
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:[~2004-03-19 12:31 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-18 19:56 How to change Dosemu files lock scheme?  Flávio Eler de Melo
2004-03-18 23:54 ` Bart Oldeman
2004-03-19 12:31   ` Anderson Pereira Ataides [this message]
2004-03-20 17:07     ` How to change Dosemu files lock scheme? !!!!!quick fix!!!!! Kevin Noseworthy - Specialty Software
2004-03-20 16:26   ` How to change Dosemu files lock scheme? Witold Filipczyk
2004-03-19  7:17 ` Reinhard Karcher

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=200403190931.01228.anderson.pa@persogo.com.br \
    --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