Re: How to change Dosemu files lock scheme? !!!!!quick fix!!!!!

Kevin Noseworthy - Specialty Software
2004-03-20T17:07:23Z

Setup a Novell server to hold the files
Dosemu supports Novell
I have this working with full file and record locking
using my dos database - Advanced Revelation - i.e. Pick for DOS
Don't know a lot about xBase databases except how to suck the data out
of them.
If clipper supports novell your off to the races.

Anderson Pereira Ataides wrote:

>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