public inbox for linux-ext4@vger.kernel.org
 help / color / mirror / Atom feed
* EXT4 partition changes every time it's mounted. (How to stop this?)
@ 2011-05-21 19:45 Lee Davis
  2011-05-22 11:47 ` Theodore Tso
  0 siblings, 1 reply; 4+ messages in thread
From: Lee Davis @ 2011-05-21 19:45 UTC (permalink / raw)
  To: linux-ext4@vger.kernel.org

Hi folks,

I'm setting up a Linux system with full disk encryption. I've written a script (to run on every boot) which will verify that neither the MBR or /boot partition (ext4) has been modified.

Problem is that every time I boot up the system, my /boot partition hashes differently.

Trying to solve this, I set the /boot partition to mount as read only in fstab. I then took individual hashes of every file on /boot. After I rebooted none of the files had changed (and there were no new files), yet the filesystem hashed as a whole had changed.

I'm guessing there is something behind the scenes which is changed/updated each time the filesystem is mounted? If so, can it be disabled?

Any advice would be greatly appreciated!

Cheers,
Lee


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

end of thread, other threads:[~2011-05-26  6:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-21 19:45 EXT4 partition changes every time it's mounted. (How to stop this?) Lee Davis
2011-05-22 11:47 ` Theodore Tso
2011-05-23  4:39   ` Lee Davis
2011-05-26  6:15     ` Lee Davis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox