MailScanner/Sendmail/Solaris Lock Type
Glenn Steen
glenn.steen at gmail.com
Fri Dec 8 21:40:22 GMT 2006
On 08/12/06, René Berber <r.berber at computer.org> wrote:
(snip)
>
> I've heard bad things about Solaris' implementation of fcntl, about it being
> just a wrapper around flock, but FWIW I'm using it with no problem under Sol9
> and low to moderate load; and I used flock under Sol8/Sol9 with an older
> MailScanner version also without a problem.
That chimes well with it being a wrapper (note: I have no such
knowledge, so get that notion confirmed!:-)... If fcntl (a.k.a.
posix:) is just a wrapper around flock, a file locking scheme using
either would end up with the same... namely flock, so there really
would be no problem at all.
It should be easy enough to make a couple of test scripts to see if
the "wrapper idea" really is true...;)
--
-- Glenn
email: glenn < dot > steen < at > gmail < dot > com
work: glenn < dot > steen < at > ap1 < dot > se
More information about the MailScanner
mailing list