From owner-freebsd-current@FreeBSD.ORG Wed Oct 20 12:44:29 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 314C316A4CE for ; Wed, 20 Oct 2004 12:44:29 +0000 (GMT) Received: from mailout03.sul.t-online.com (mailout03.sul.t-online.com [194.25.134.81]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1EFBE43D54 for ; Wed, 20 Oct 2004 12:44:28 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from fwd03.aul.t-online.de by mailout03.sul.t-online.com with smtp id 1CKFp5-0006VZ-04; Wed, 20 Oct 2004 14:44:11 +0200 Received: from Andro-Beta.Leidinger.net (SsQQl6ZQ8eDvpTv69B3yeQ2s7IeDINCBMDS+HHElWFlHxJt9iRsxc7@[84.128.198.170]) by fmrl03.sul.t-online.com with esmtp id 1CKFp0-2AdMdE0; Wed, 20 Oct 2004 14:44:06 +0200 Received: from Andro-Beta.Leidinger.net (localhost [127.0.0.1]) i9KCi24H055152; Wed, 20 Oct 2004 14:44:03 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: (from www@localhost)i9KCi1Lp055151; Wed, 20 Oct 2004 14:44:01 +0200 (CEST) (envelope-from Alexander@Leidinger.net) X-Authentication-Warning: Andro-Beta.Leidinger.net: www set sender to Alexander@Leidinger.net using -f Received: from wwwproxy-2.sns-felb.debis.de (wwwproxy-2.sns-felb.debis.de [53.122.192.14]) by netchild.homeip.net (IMP) with HTTP for ; Wed, 20 Oct 2004 14:43:58 +0200 Message-ID: <1098276238.41765d8ebfc0b@netchild.homeip.net> Date: Wed, 20 Oct 2004 14:43:58 +0200 From: Alexander Leidinger To: Dan Nelson References: <417538B9.7070001@club-internet.fr> <41755FAF.8080300@colleduc.ee> <53515.208.4.77.15.1098213002.squirrel@208.4.77.15> <20041019202047.GB83510@dan.emsphone.com> In-Reply-To: <20041019202047.GB83510@dan.emsphone.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.6 / FreeBSD-4.10 X-Originating-IP: 53.122.192.14 X-ID: SsQQl6ZQ8eDvpTv69B3yeQ2s7IeDINCBMDS+HHElWFlHxJt9iRsxc7@t-dialin.net X-TOI-MSGID: 00ccee57-dc34-453e-8867-5abb581eb791 cc: Ryan Sommers cc: =?iso-8859-1?b?SmVhbi1Tw6liYXN0aWVuIA==?= =?iso-8859-1?b?UMOpZHJvbg==?= cc: Kalev Lember cc: freebsd-current@freebsd.org Subject: Re: Read-only ReiserFS support for FreeBSD 5.x X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Oct 2004 12:44:29 -0000 Zitat von Dan Nelson : > Journalled filesystems may guarantee that the filesystem will be > consistent to a particular point in time, so if your editor updates > (for example) rc.conf by creating a new copy named rc.conf.new, > deleting rc.conf, then renaming the copy to rc.conf, you are guaranteed > that either rc.conf or rc.conf.new will be in the filessytem after a > crash. With softupdates, you may lose both files. I don't know if > current journalled fses actually journal all writes like this (as > opposed to just journalling what the OS decides to flush out of its > cache), but they are much less likely to lose files the way softupdates > can. Sorry, this isn't true. Renaming a directory entry is an atomar operation. Not only "man 2 rename" tells you about it, the softupdates algorithm guarantees this too. If you move/rename an entry into another directory, you may have both entries with the same content, but you won't loose both. Bye, Alexander. -- http://www.Leidinger.net/ Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org/ netchild @ FreeBSD.org : PGP ID = 72077137 This novel is not to be tossed lightly aside, but to be hurled with great force. -- Dorothy Parker