linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [ext3] Changes to block device after an ext3 mount point has been remounted readonly
@ 2010-02-18 16:45 PiX
  2010-02-18 16:50 ` Camille Moncelier
  2010-02-18 21:41 ` Andreas Dilger
  0 siblings, 2 replies; 22+ messages in thread
From: PiX @ 2010-02-18 16:45 UTC (permalink / raw)
  To: linux-fsdevel

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 I 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 will 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.
For 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

^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2010-03-02 23:10 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-18 16:45 [ext3] Changes to block device after an ext3 mount point has been remounted readonly PiX
2010-02-18 16:50 ` Camille Moncelier
2010-02-18 21:41 ` Andreas Dilger
2010-02-19  7:38   ` Camille Moncelier
2010-02-22 22:32     ` Jan Kara
2010-02-22 23:05       ` Jan Kara
2010-02-22 23:09         ` Andreas Dilger
2010-02-23  8:42           ` Camille Moncelier
2010-02-23 13:55             ` Jan Kara
2010-02-24 16:01               ` Dmitry Monakhov
2010-02-24 16:26                 ` Camille Moncelier
2010-02-24 16:59                   ` Jan Kara
2010-02-24 16:56                 ` Jan Kara
2010-03-02  9:34                   ` Christoph Hellwig
2010-03-02 10:01                     ` Dmitry Monakhov
2010-03-02 13:26                       ` Jan Kara
2010-03-02 23:10                     ` Joel Becker
2010-02-24 16:57                 ` Eric Sandeen
2010-02-24 17:05                   ` Jan Kara
2010-02-24 17:26                     ` Dmitry Monakhov
2010-02-24 21:36                       ` Jan Kara
2010-03-02 10:29         ` Nick Piggin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).