From owner-freebsd-hackers@FreeBSD.ORG Thu Mar 3 12:18:48 2005 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2941A16A4CE for ; Thu, 3 Mar 2005 12:18:48 +0000 (GMT) Received: from critter.freebsd.dk (f170.freebsd.dk [212.242.86.170]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7E64D43D31 for ; Thu, 3 Mar 2005 12:18:47 +0000 (GMT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.13.1/8.13.1) with ESMTP id j23CIjZ8007154; Thu, 3 Mar 2005 13:18:45 +0100 (CET) (envelope-from phk@critter.freebsd.dk) To: ticso@cicely.de From: "Poul-Henning Kamp" In-Reply-To: Your message of "Thu, 03 Mar 2005 13:04:22 +0100." <20050303120421.GW86348@cicely12.cicely.de> Date: Thu, 03 Mar 2005 13:18:45 +0100 Message-ID: <7153.1109852325@critter.freebsd.dk> Sender: phk@critter.freebsd.dk cc: tech-security@NetBSD.org cc: Roland Dowdeswell cc: hackers@freebsd.org Subject: Re: FUD about CGD and GBDE X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Mar 2005 12:18:48 -0000 In message <20050303120421.GW86348@cicely12.cicely.de>, Bernd Walter writes: >No matter what disk you take - writes never have been atomic. >The major difference I see is that you get a read error back in >the disk failure case, while such a crypto failure produces more or >less random data without any error. >Mounting unclean filesystems rw for bg_fsck can be considered >dangerous with such unexpected data corruption. >And how would you know that a restore from backup is required for >a damaged file? 100% true. The trouble is that it would cost a lot in performance and a doubling in metadata to protect yourself against this. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.