From mboxrd@z Thu Jan 1 00:00:00 1970 From: PiX Subject: [ext3] Changes to block device after an ext3 mount point has been remounted readonly Date: Thu, 18 Feb 2010 17:45:00 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE To: linux-fsdevel@vger.kernel.org Return-path: Received: from mail-vw0-f46.google.com ([209.85.212.46]:37184 "EHLO mail-vw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758579Ab0BRQpW convert rfc822-to-8bit (ORCPT ); Thu, 18 Feb 2010 11:45:22 -0500 Received: by vws11 with SMTP id 11so478606vws.19 for ; Thu, 18 Feb 2010 08:45:21 -0800 (PST) Sender: linux-fsdevel-owner@vger.kernel.org List-ID: I'm experiencing a strange behavior. After having remounted / to readonly, I'm doing a sha1sum on /dev/sda1 (which is mounted on /) Then, I reboot, GRUB starts the kernel with the ro option, when=A0I do = a hash of /dev/sda1 the sum has changed. This only happen when the rootfs hash been mounted ro, then remounted rw to make some changes and remounted ro. On the next reboot the hash will change, but only one time. Next reboots=A0will not alter the control sum, until of course I remount it RW. Here's a small shell script that show that some changes are made between "mount -o remount,ro" and umount. On my system the might run 1 time before failing as well as 20. =46or the record: $ uname -a Linux cortex 2.6.32-ARCH #1 SMP PREEMPT Tue Feb 9 14:46:08 UTC 2010 i686 Intel(R) Core(TM)2 Duo CPU E4400 @ 2.00GHz GenuineIntel GNU/Linux -- Camille Moncelier http://devlife.org/ If Java had true garbage collection, most programs would delete themselves upon execution. -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel= " in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html