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 [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to