From owner-freebsd-hackers Wed Feb 7 3: 6:28 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 67B7D37B401 for ; Wed, 7 Feb 2001 03:06:11 -0800 (PST) Received: from fanf by hand.dotat.at with local (Exim 3.20 #3) id 14QSMS-000JFa-00; Wed, 07 Feb 2001 11:02:08 +0000 Date: Wed, 7 Feb 2001 11:02:08 +0000 From: Tony Finch To: Andre Oppermann Cc: Matt Dillon , Rik van Riel , Mike Silbersack , Poul-Henning Kamp , Charles Randall , Dan Phoenix , Alfred Perlstein , Jos Backus , freebsd-hackers@FreeBSD.ORG Subject: Re: soft updates and qmail (RE: qmail IO problems) Message-ID: <20010207110208.G74296@hand.dotat.at> References: <3A805035.C71AAD5E@monzoon.net> <200102061943.f16Jhp365113@earth.backplane.com> <3A805938.96ED890D@monzoon.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3A805938.96ED890D@monzoon.net> Organization: Covalent Technologies, Inc Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Andre Oppermann wrote: > >Qmail has a couple of directories for the different states a queued >message goes through. The whole queue structure is required to be on >the same partition/disk. After the completing of each step in the queue >it is moved through the use of link() and then unlink() to the next >directory. Why not just use rename(2)? To protect against the new filename already existing? Tony. -- f.a.n.finch fanf@covalent.net dot@dotat.at GERMAN BIGHT HUMBER THAMES DOVER WIGHT PORTLAND PLYMOUTH: SOUTHWEST 5 TO 7 DECREASING 4, BECOMING CYCLONIC LATER. RAIN LATER. GOOD, BECOMING MODERATE OCCASIONALLY POOR LATER. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message