[ext3] Changes to block device after an ext3 mount point has been remounted readonly

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux