From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Lee Subject: Re: [Fwd: Re: Samba and kernel oplocks - Smbmount] Date: 29 Aug 2002 12:27:37 -0700 Sender: linux-msdos-owner@vger.kernel.org Message-ID: <1030649258.19139.179.camel@ralph.plexio.private> References: Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Id: Content-Type: text/plain; charset="us-ascii" To: Bart Oldeman Cc: dosemu On Thu, 2002-08-29 at 11:54, Bart Oldeman wrote: > FreeDOS kernels before ~2026 did not translate > --------D-215C------------------------------- > INT 21 - DOS 3.0+ - "FLOCK" - RECORD LOCKING > into > --------N-2F110A----------------------------- > INT 2F CU - NETWORK REDIRECTOR (DOS 4.0+) - LOCK/UNLOCK REGION OF FILE > > That was the problem - the redirector interface is a relatively recent > addition to FreeDOS. DR-DOS should not have this bug. > > I suspect that the way that DOSEMU tries to implement DOS locking > techniques is not compatible with mandatory locking on the Samba Unix > side. Thanks for explaining the complexities. A few more questions: 1. Does that mean Sergey's hack to mfs.c is not a permanent solution? I've made the changes but am waiting for my Foxpro users to test it. 2. Is using smbmount to access the Foxpro files from Dosemu a valid way to get around the locking problem? I suspect it will be slower but anything else? Thanks again. Stephen