Subj : CVS commit src/sbbs3/nope To : Deuce From : Digital Man Date : Fri Dec 24 2004 11:02 pm Re: CVS commit src/sbbs3/nope By: Deuce to rswindell on Fri Dec 24 2004 11:02 am > > nopen() now loops on EDEADLK/EDEADLOCK on FreeBSD, necessary for smbfs > > mounted shared (now why is this different than NFS or local file systems? > > and why is it different than smbfs mounted shares on Linux?). > > Well, just a guess, but I'd bet that Win32 is generating an error that > translates loosely as EDEADLK... Actually, sopen() on Win32 returnes errno=EACCES if the file open is denied due to share denial, but we (xpdev->filewrap.c) return whatever errno open or flock leaves it set to. It's a minor difference. > NFS and the local file systems don't suppor > manditory locking, so you couldn't get a lock error opening files on them. Hmm... sure you can. If one thread has file open DENYNONE, I sure hope that another thread or process running on the same system will be denied open access. > As for being different than Linux, FreeBSD doesn't use the SMBFS that Linux > uses. Oh. It's interesting that it exhibits some of the same flaws. Did they stem from the same source at some point? digital man Snapple "Real Fact" #110: Frogs never drink. .