[Rpm-maint] [deltarpm] Setting inode # to 0 in delta rpms

Florian Festi ffesti at redhat.com
Wed Sep 30 14:00:06 UTC 2009


Hi!
I've been discussion various details about deltarpm weth Michael 
Schröder. He mentioned that the inode number is set to 0 when creating 
the delta and also when reconstructing the package because the files on 
disk do no longer carry the inode number that have been assigned to them 
in the cpio payload. After a couple of days this have come back to my mind.

My first thought was: This should not be necessary as you can 
reconstruct the inode numbers from the old rpm header.

My second thought was: True but this won't save anything as the inode 
numbers will be different between the packages anyway.

Third thought: Would using artificially created inode numbers reduce the 
size of the deltas? May be increasing the inode number to the next 10 or 
100 step to avoid changing all inode numbers when adding one file at the 
begining of the package?

Don't know if this does make sense at all. But may be someone wants to 
pick it up...

Florian


More information about the Rpm-maint mailing list