From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752800AbXDIEe0 (ORCPT ); Mon, 9 Apr 2007 00:34:26 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752773AbXDIEe0 (ORCPT ); Mon, 9 Apr 2007 00:34:26 -0400 Received: from wasp.net.au ([203.190.192.17]:53876 "EHLO wasp.net.au" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752661AbXDIEeZ (ORCPT ); Mon, 9 Apr 2007 00:34:25 -0400 X-Greylist: delayed 308 seconds by postgrey-1.27 at vger.kernel.org; Mon, 09 Apr 2007 00:34:25 EDT Message-ID: <4619C116.1090702@wasp.net.au> Date: Mon, 09 Apr 2007 08:29:10 +0400 From: Brad Campbell User-Agent: Thunderbird 1.5.0.10 (X11/20070306) MIME-Version: 1.0 To: Eric Sandeen CC: Samuel Thibault , linux-ext4@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: Add a norecovery option to ext3/4? References: <20070409000556.GA13980@implementation> <4619B202.3050601@redhat.com> In-Reply-To: <4619B202.3050601@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Eric Sandeen wrote: > Samuel Thibault wrote: >> Hi, >> >> Distribution installers usually try to probe OSes for building a suited >> grub menu. Unfortunately, mounting an ext3 partition, even in read-only >> mode, does perform some operations on the filesystem (log recovery). >> This is not a good idea since it may silently garbage data. > > Can you elaborate? Under what circumstances is log replay going to harm > data? Do you mean that the installer mounts partitions, looking for > what OS is installed? How is that harmful? > It'll wreak havoc on my hibernated system when I've suspended it to do a test OS install on one of my spare partitions. The log replay will go fine, but then when the system resumes it's idea of what's on the disk won't match what is really there and ugly, ugly things happen. Brad -- "Human beings, who are almost unique in having the ability to learn from the experience of others, are also remarkable for their apparent disinclination to do so." -- Douglas Adams