From owner-freebsd-questions@FreeBSD.ORG Fri Jun 16 10:46:36 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CB3F416A474 for ; Fri, 16 Jun 2006 10:46:36 +0000 (UTC) (envelope-from pabmara@fiv.upv.es) Received: from smtp.upv.es (84-123-2-197.onocable.ono.com [84.123.2.197]) by mx1.FreeBSD.org (Postfix) with SMTP id DDE3243D49 for ; Fri, 16 Jun 2006 10:46:35 +0000 (GMT) (envelope-from pabmara@fiv.upv.es) Received: (qmail 13165 invoked by uid 1000); 16 Jun 2006 10:47:04 -0000 Date: Fri, 16 Jun 2006 12:47:04 +0200 From: Pablo =?iso-8859-1?Q?Mar=EDn_Ram=F3n?= To: freebsd-questions@freebsd.org Message-ID: <20060616104704.GA11222@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Subject: FFS data integrity X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jun 2006 10:46:36 -0000 Here goes a newbie question about classical FFS (without softupdates). As metadata is updated synchronously, can an i-node, at some point, end pointing to not written yet data blocks? Is this a security risk, i.e., can those pointed to data blocks pertain to another user's deleted on memory but not deleted on disk data, or that deleted data will be marked in metadata as not initialized and after a crash fsck will fix all i-nodes pointing to it? AFAIK, softupdates and ext3 in the default mode (data=ordered) don't have this problem, but journalling filesystems that journal only metadata do. Is this correct? Thanks in advance.