Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Feb 2001 11:02:08 +0000
From:      Tony Finch <dot@dotat.at>
To:        Andre Oppermann <oppermann@monzoon.net>
Cc:        Matt Dillon <dillon@earth.backplane.com>, Rik van Riel <riel@conectiva.com.br>, Mike Silbersack <silby@silby.com>, Poul-Henning Kamp <phk@critter.freebsd.dk>, Charles Randall <crandall@matchlogic.com>, Dan Phoenix <dphoenix@bravenet.com>, Alfred Perlstein <bright@wintelcom.net>, Jos Backus <josb@cncdsl.com>, freebsd-hackers@FreeBSD.ORG
Subject:   Re: soft updates and qmail (RE: qmail IO problems)
Message-ID:  <20010207110208.G74296@hand.dotat.at>
In-Reply-To: <3A805938.96ED890D@monzoon.net>
References:  <Pine.LNX.4.21.0102061555550.1535-100000@duckman.distro.conectiva> <3A805035.C71AAD5E@monzoon.net> <200102061943.f16Jhp365113@earth.backplane.com> <3A805938.96ED890D@monzoon.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Andre Oppermann <oppermann@monzoon.net> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010207110208.G74296>