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

Re: /boot partition changes when it should not



Clive McBarton wrote:
Ron Johnson wrote:
Note that "Last write time:" might not mean what you think it does.  I
say that because on my system /dev/sda2 is / and I've written a whole
bunch of data to it in the past 25.5 days, yet the LWT still matches the
LMT.

Very interesting. I wasn't surprised that they match for me, since I
mount it read-only, so as soon as my kernel is up enough to read and
care about /etc/fstab, it will not modify it anymore anyway. It's
interesting to know that even people with read-write partitions see
similar behavior.

As I mentioned in my previous post analyzing the code, the last write time specifies the last *superblock* write time. Since the kernel does everything it can not to touch anything if read-only, it has to be mount(8), when it updates the last mount time (which explains why they always match). I'd really look at the boot loader now.

-thib


Reply to: