From: Witold Filipczyk <witekfl@poczta.gazeta.pl>
To: bartoldeman@users.sourceforge.net
Cc: "Flávio Eler de Melo" <flavio_jones@ig.com.br>,
linux-msdos@vger.kernel.org,
jefferson <jefferson@flyaccess.com.br>
Subject: Re: How to change Dosemu files lock scheme?
Date: Sat, 20 Mar 2004 17:26:28 +0100 [thread overview]
Message-ID: <20040320162628.GA2655@pecet.fixsoftware.pl> (raw)
In-Reply-To: <Pine.LNX.4.44.0403182348360.5895-100000@pg5.enm.bris.ac.uk>
On Fri, Mar 19, 2004 at 01:02:32AM +0000, Bart Oldeman wrote:
> 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).
Why not implement locking using temporary files.
Eg. lock(file) == create file.lockfile with info about type of lock inside
a file.
--
Witold Filipczyk tohu-bohu
<witekfl@poczta.gazeta.pl>
-
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
next prev parent reply other threads:[~2004-03-20 16:26 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
2004-03-20 17:07 ` How to change Dosemu files lock scheme? !!!!!quick fix!!!!! Kevin Noseworthy - Specialty Software
2004-03-20 16:26 ` Witold Filipczyk [this message]
2004-03-19 7:17 ` How to change Dosemu files lock scheme? 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=20040320162628.GA2655@pecet.fixsoftware.pl \
--to=witekfl@poczta.gazeta.pl \
--cc=bartoldeman@users.sourceforge.net \
--cc=flavio_jones@ig.com.br \
--cc=jefferson@flyaccess.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