File lock test

Simon Hyde shyde at poboxes.com
Fri Jan 30 23:34:51 GMT 1998


On Fri, 30 Jan 1998 03:57:20 +1100, you wrote:

>Samba appears to accept a file lock request, but there is no change to
>the lock file STATUS..LCK
>
>Does samba attempt to record a file lock in STATUS..LCK , or does samba
>store individual file lock information somewhere else on the server? 
>
>i.e. how can I check that samba has actually received a request to
>lock a file?
Samba often (depending on the architecture) stores locks in shared memory,
therefore in order to view currently locked files you'll have to use
smbstatus to list locks.

Hope this is of help,

Simon Hyde


More information about the samba mailing list