public inbox for linux-msdos@vger.kernel.org
 help / color / mirror / Atom feed
From: "Oscar A. Valdez" <oscar.valdez@plastipak.com.sv>
To: Bart Oldeman <Bart.Oldeman@bristol.ac.uk>
Cc: Stephen Lee <splee@plexio.com>, dosemu <linux-msdos@vger.kernel.org>
Subject: Re: [Fwd: Re: Samba and kernel oplocks - Smbmount]
Date: 29 Aug 2002 14:46:47 -0600	[thread overview]
Message-ID: <1030654007.1131.55.camel@wzowski> (raw)
In-Reply-To: <Pine.GSO.4.05.10208291935190.27437-100000@sh.enm.bris.ac.uk>

On my Samba server, the shares accessed via Dosemu are configured with 'oplocks = no' and 'level2 oplocks = no', because of particularitites of the shared application.

I haven't tried Dosemu on shares without those two options, but since
oplocks are a NetBios feature, I don't see why it shouldn't work.

Oscar

El jue, 29-08-2002 a las 12:54, Bart Oldeman escribió:
> On 29 Aug 2002, Stephen Lee wrote:
> 
> > On Thu, 2002-08-29 at 11:20, Oscar A. Valdez wrote:
> > > I don't know what version of the kernel comes with 1.1.3.2, but, like
> > > Bart said, your $_hdimage gets converted to an lredir'd drive, and if
> > > your kernel doesn't handle locks properly on lredir'd drives, you won't
> > > be able to set locks on C:
> > > 
> > > Bart, what version of the kernel comes with 1.1.3.2? Is it OK to use a
> > > higher version of kernel.sys with it?
> 
> There is no kernel that comes with 1.1.3.2 - it's just a development
> test version of DOSEMU. In general DOSEMU is FreeDOS kernel agnostic -
> though newer kernels tend to work better than older ones.
> 
> > > Oscar
> > 
> > Hmmm...does that mean I should be using Freedos and not DRDOS if I want
> > proper kernel locking? I hope Foxpro works well with Freedos!
> 
> FreeDOS should work just like DR-DOS in this respect but it never
> hurts to try FreeDOS.
> 
> In general DOS talks to DOSEMU lredir'ed drive through the redirector
> interface. This is a list of calls you can find in Ralf Brown's
> Interrupt List at INT2F/AX=11xx. It's a horrible interface because it
> wasn't designed as such - but we have to live with it to get proprietary
> DOSes to access lredir'ed drives.
> 
> The same redirector interface is what DOS uses to talk to network drives
> in general and with MSCDEX/(FD/SHSUCDEX)/NWCDEX for CDROM drives too.
> 
> 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.
> 
> 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

  parent reply	other threads:[~2002-08-29 20:46 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-29 15:04 [Fwd: Re: Samba and kernel oplocks - Smbmount] Oscar A. Valdez
2002-08-29 16:30 ` Stephen Lee
2002-08-29 18:20   ` Oscar A. Valdez
2002-08-29 18:41     ` Stephen Lee
2002-08-29 18:54       ` Bart Oldeman
2002-08-29 19:27         ` Stephen Lee
2002-08-29 20:46         ` Oscar A. Valdez [this message]
2002-08-29 18:58       ` Oscar A. Valdez

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=1030654007.1131.55.camel@wzowski \
    --to=oscar.valdez@plastipak.com.sv \
    --cc=Bart.Oldeman@bristol.ac.uk \
    --cc=linux-msdos@vger.kernel.org \
    --cc=splee@plexio.com \
    /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