From: Lee Davis <l.davis37@ymail.com>
To: "linux-ext4@vger.kernel.org" <linux-ext4@vger.kernel.org>
Subject: EXT4 partition changes every time it's mounted. (How to stop this?)
Date: Sat, 21 May 2011 12:45:32 -0700 (PDT) [thread overview]
Message-ID: <476510.14310.qm@web125206.mail.ne1.yahoo.com> (raw)
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
next reply other threads:[~2011-05-21 19:51 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-21 19:45 Lee Davis [this message]
2011-05-22 11:47 ` EXT4 partition changes every time it's mounted. (How to stop this?) Theodore Tso
2011-05-23 4:39 ` Lee Davis
2011-05-26 6:15 ` Lee Davis
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=476510.14310.qm@web125206.mail.ne1.yahoo.com \
--to=l.davis37@ymail.com \
--cc=linux-ext4@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox