[rb-general] How to modify mount-time and write when you write in a file system

Daniel Shahaf danielsh at apache.org
Wed Jul 12 19:28:04 CEST 2017


Andres Pavez wrote on Wed, 12 Jul 2017 10:14 -0700:
> Thanks for your comment, but the final propose is generate a
> reproducible custom live cd with the same hash, and this values are
> different every time that you mount and copy in the ext4 file system.

Ah, I see: you want not only the difference between your iso and your
upstream's iso to be minimal, but also your iso to be reproducible in
the usual sense.

In this case, two ideas come to mind: 1) To look for tools that can edit
an ext2 filesystem's metadata --- possibly developer tools; 2) check
whether FUSE can mount ext2 filesystems.  It's possible that FUSE
has an option to not touch, or reset, the metadata even if the kernel's
ext2 implementation doesn't.

Cheers,

Daniel


More information about the rb-general mailing list