Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!mcvax!jack From: jack@mcvax.cwi.nl (Jack Jansen) Newsgroups: comp.unix.wizards Subject: How are mailfiles locked under 4.n and System III/V? Message-ID: <7384@boring.mcvax.cwi.nl> Date: Wed, 13-May-87 14:57:45 EDT Article-I.D.: boring.7384 Posted: Wed May 13 14:57:45 1987 Date-Received: Sat, 16-May-87 04:17:47 EDT Organization: AMOEBA project, CWI, Amsterdam Lines: 18 A question for various wizards out there: How do various unices lock mailfiles? I know about V7 (make a file /usr/tmp/lock.USERNAME, yuck) and 2.9BSD (set the execute bits, slightly-less-yuck), but not how other unices do this. I would be very grateful if people who know could tell me. (As an aside, I went through the sources of 4.3 sendmail, expecting an flock() call or something similar, but couldn't find *anything* that resembled locking. What am I missing?) -- Jack Jansen, jack@cwi.nl (or jack@mcvax.uucp) The shell is my oyster.