From owner-freebsd-hackers Thu Feb 8 0:19:58 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from hand.dotat.at (sfo-gw.covalent.net [207.44.198.62]) by hub.freebsd.org (Postfix) with ESMTP id 1F59D37B491 for ; Thu, 8 Feb 2001 00:19:39 -0800 (PST) Received: from fanf by hand.dotat.at with local (Exim 3.20 #3) id 14QmEw-000AE9-00; Thu, 08 Feb 2001 08:15:42 +0000 Date: Thu, 8 Feb 2001 08:15:42 +0000 From: Tony Finch To: Greg Black Cc: Andre Oppermann , Matt Dillon , Rik van Riel , Mike Silbersack , Poul-Henning Kamp , Charles Randall , Dan Phoenix , Alfred Perlstein , Jos Backus , freebsd-hackers@FreeBSD.ORG, Tony Finch Subject: Re: soft updates and qmail (RE: qmail IO problems) Message-ID: <20010208081542.M74296@hand.dotat.at> References: <3A805035.C71AAD5E@monzoon.net> <200102061943.f16Jhp365113@earth.backplane.com> <3A805938.96ED890D@monzoon.net> <20010207110208.G74296@hand.dotat.at> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: Organization: Covalent Technologies, Inc Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Greg Black wrote: >Tony Finch wrote: > >> Why not just use rename(2)? To protect against the new filename >> already existing? > >Why not just read the man page for rename(2) before making >suggestions? I did. I'm glad I was right that it's deleting the destination that is the problem. I would have thought it would be easy to be sure that spool filenames are unique, but OTOH I guess that's not completely robust. Tony. -- f.a.n.finch fanf@covalent.net dot@dotat.at GERMAN BIGHT: SOUTHERLY BECOMING CYCLONIC THEN MAINLY NORTHERLY 5 TO 7, PERHAPS GALE 8 LATER. RAIN. MAINLY MODERATE. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message