smbmount & locking
dm at belkam.com
Thu Oct 4 20:14:06 GMT 2001
Urban Widmark wrote:
>On Thu, 4 Oct 2001, Dmitry Melekhov wrote:
>>We want to do following- run clipper task by cron in dosemu
>>on smbfs directory, which add info from one dbf file to another.
>>But problem is that after dosemu exits lock on changed dbf file
>>still exists and others tasks can't read it.
>>How to solve this problem?
>umount should cause smbfs to disconnect and that should make the server
>consider everything closed.
I understand. And yes, I can mount and umount when I start dosemu.
But may be there is more right way?
>>Samba 2.0.10, RedHat 6.2, kernel 2.2.19.
>Note that smbfs doesn't actually implement locking, but I think any
>messages you see are about some file still being open.
Yes, you are right.
More information about the samba