From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kevin Noseworthy - Specialty Software Subject: Re: How to change Dosemu files lock scheme? !!!!!quick fix!!!!! Date: Sat, 20 Mar 2004 13:37:23 -0330 Sender: linux-msdos-owner@vger.kernel.org Message-ID: <405C7A4B.9090305@nf.sympatico.ca> References: <200403190931.01228.anderson.pa@persogo.com.br> Mime-Version: 1.0 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: In-Reply-To: <200403190931.01228.anderson.pa@persogo.com.br> List-Id: Content-Type: text/plain; charset="iso-8859-1"; format="flowed" To: Anderson Pereira Ataides , "linux-msdos@vger.kernel.org" , =?ISO-8859-1?Q?Fl=E1vio_Eler_de_Melo?= , Reinhard Karcher , Vedran Vucic , Bart Oldeman 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=20 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 dosem= u=20 >mantainers do you believe? > >You could try a Clipper-like language for Linux like FlagShip, but if = you read=20 >the documentation it says something like this: "do not mix windows and= Linux=20 >workstations acessing the same files. Due to filesystem differences it= may=20 >corrupt your database files". So problem is not only with dosemu. > >The "perfect" solution is: use a database like MySQL, and make your=20 >application access the database, not the filesystem. > >[]s >Anderson Pereira Ataides > > > >Em Qui 18 Mar 2004 20:54, Bart Oldeman escreveu: > =20 > >>On Thu, 18 Mar 2004, Fl=E1vio Eler de Melo wrote: >> =20 >> >>>Anyone has an idea of where in Dosemu sources I can find the section >>>concerning files lock scheme? >>> =20 >>> >>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 i= t'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 wer= e >>even problematic with just one dosemu running, but gave up after a wh= ile). >> >>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 >> =20 >> > >- >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 > > =20 > - 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