Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ukma!xanth!nic.MR.NET!eta!rscott From: rscott@eta.unix.ETA.COM (Rich Scott) Newsgroups: comp.mail.elm Subject: mailbox locking across multiple machines? Keywords: elm, mail, lockf, fcntl Message-ID: <2434@eta.unix.ETA.COM> Date: 10 Feb 89 16:52:49 GMT Distribution: na Organization: ETA Systems Inc., St. Paul, Mn. Lines: 19 (I'm sure this has been addressed before, but here goes:) We have a situation on our network where we mount bigserver:/usr/spool/mail on all our workstations via NFS. While using ELM2.1, I noticed that I could read my mail on my workstation, and while leaving that session of elm going, I could run elm on a different machine, to read new mail in my (the same) mailbox. Are there any patches/releases that use, say, lockf(3) or fcntl(2) to lock /usr/spool/mail/username so that only one instance of elm _on the network_ can read and modify it? Currently, elm only does this right for two simultaneous sessions on the same machine. Thanks ... ---------- rich scott (612) 642-8404 internet: rscott@unix.eta.com eta systems, st. paul, mn uucp: {amdahl,rutgers}!bungia!eta!rscott "I've been on a calendar, but never on time" - Marilyn Monroe