RE: [PATCH] (locking) (was Re: dosemu and CLIPPER locks (again))

Gregor Ibic
2003-02-10T18:45:59Z

The environment:
Samba 2.2.7a
shared some folder and then mounted with smbfs rw, fmask=777

DOSEMU 1.1.4.11+64bit patch
dos 5.0 booted from bootdir (I tried other doses but it is the same)
lredired the mounted folder

other client is on win platform (w2k or win98)
mounted the same share with net use ...

If I start the app from win client first, the dosemu client cant open the
file
if I start the dosemu client the win client can open the file

[root@flip root]# lsof /mnt/aranea/aralj/FIN--/SKKUP-01.101
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
dosemu.bi 17951 root 10u REG 0,11 946176 1452
/mnt/aranea/aralj/FIN--/SKKUP-01.101
[root@flip root]#

smbstatus
....

Locked files:
Pid DenyMode Access R/W Oplock Name
--------------------------------------------------------------
18038 DENY_NONE 0x2019f RDWR NONE
/home/space/araswlj/aralj/FIN--/SKKUP-01.101 Mon Feb 10 19:38:47 2003
17908 DENY_NONE 0x3 RDWR NONE
/home/space/araswlj/aralj/FIN--/SKKUP-01.101 Mon Feb 10 19:31:02 2003

[root@flip root]#

first line is from win client and the second line is from dosemu client

Regards,
Gregor