From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from executioner.lis.net.au([203.35.83.3]) (2118 bytes) by braille.uwo.ca via smail with P:esmtp/D:aliases/T:pipe (sender: ) id for ; Tue, 4 Apr 2000 22:12:53 -0400 (EDT) (Smail-3.2.0.102 1998-Aug-2 #2 built 1999-Sep-5) Received: from uucp by executioner.lis.net.au with local-rmail (Exim 2.05 #1) id 12cfJO-0002fN-00 (Debian); Wed, 5 Apr 2000 12:12:54 +1000 Received: from kerry by gotss.eu.org with local (Exim 2.05 #1) id 12cf59-0001az-00 (Debian); Wed, 5 Apr 2000 11:58:11 +1000 Date: Wed, 5 Apr 2000 11:58:11 +1000 From: Kerry Hoath To: speakup@braille.uwo.ca Subject: Re: locked mailbox Message-ID: <20000405115811.B5999@gotss1.gotss.eu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.3i In-Reply-To: ; from cpt.kirk@1tree.net on Mon, Apr 03, 2000 at 12:39:31PM -0500 List-Id: Mail locking works like this: You flock the file. You also create a mailboxname.lock file with the pid of the mail process id in it. When mutt manipulates my mailbox it creates kerry.lock with the mutt pid in it and removes it when done. If fuser /var/spool/mail/kirk shows nothing; try removing kirk.lock out of /var/spool/mail. Remember Linux keeps a file around whilst it is open, open files are not deleted until they are closed so if a process has the mailbox open that process will see the old contents until it closes it. Regards, Kerry. On Mon, Apr 03, 2000 at 12:39:31PM -0500, cpt.kirk@1tree.net wrote: > Well, the problem isn't a true file locking problem. I changed the name of > the mailbox file and touched to make a new one. But Pine still thinks my > mailbox is locked by another process. I don't know. > > Kirk Wood > Cpt.Kirk@1tree.net > ------------------ > > Your fly might be open (but don't check it just now). > > > > _______________________________________________ > Speakup mailing list > Speakup@braille.uwo.ca > http://speech.braille.uwo.ca/mailman/listinfo/speakup > -- -- Kerry Hoath: kerry@gotss.eu.org Alternates: kerry@emusys.com.au kerry@gotss.spice.net.au or khoath@lis.net.au ICQ UIN: 8226547