Re: /boot partition changes when it should not

Clive McBarton <clivemcbarton@xxxxxx> writes:
Stephen Powell wrote:

For example, the boot loader may be updating the mount
count or updating the "last referenced date/time", if there is such
a field in the filesystem, for the kernel image or the initial RAM
disk image.

I assume you mean "atime", which exists in ext3. And no, it was not
updated. I checked with ls, it has the same value it had since the last
kernel update.

An ext3 filesystem has a last mount time in the superblock. This is
different to any of the POSIX times in the root directory of the
filesystem. The Linux kernel does not update this field on a read-only

If it were me trying to diagnose this, I would be diffing the images
that should be the same and seeing where they are different. There's
plenty of info out there on the data structures of the ext3 filesystem,
so it shouldn't be too difficult to determine which attributes or other
parts of the filesystem are being modified.

At that point, then you can start speculating on what application is
making the modification. Trying to guess what is making the modifications
without knowing what was modified is going about it backwards.

To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx

Relevant Pages

  • Re: [00/41] Large Blocksize Support V7 (adds memmap support)
    ... kernel and already must have fallbacks.... ... I don't agree with using higher order pages to fix SLUB vs SLAB performance ... as well as something the filesystem people recommend to get good coverage ...
  • kernel BUG at mm/slab.c:610
    ... I'm experimenting this kernel panic on 3 different ... I don't think this is related to buggy hardware ... Filesystem "hda1": Disabling barriers, not supported by the ... # ACPI Support ...
  • Re: [RFC][PATCH] VFS: update documentation (take #2)
    ... > filesystem interface to userspace programs. ... > abstraction within the kernel which allows different filesystem ... > a pointer to the dentry and a set of file operation member functions. ... called when the VFS needs to get filesystem statistics. ...
  • kernel BUG at mm/slab.c:607 in
    ... kernel message event are written to /var/log/syslog). ... Allocating PCI resources starting at 10000000 ... Filesystem "hda1": Disabling barriers, ... EIP is at free_block+0xe2/0x100 ...
  • Re: booting without initrd
    ... One important job of the initrd is to load ... drivers which aren't compiled directly into the base kernel image. ... may be a good exercise to learn about the kernel/root filesystem startup; ... grub gets confused when you use the vmalloc and mem kernel parameters. ...