On Thu, 2007-06-28 at 11:15 -0400, Jakub Jelinek wrote:
On Thu, Jun 28, 2007 at 04:09:25PM +0100, John Horne wrote:
I have been trying to find out if a prelinked files size always remains the same. Some simple testing of unprelinking and then prelinking a file seems to indicate that the eventual size of the file does remain the same. I know that the files MD5 hash value, its inode number, and some other file attributes change, but I was wondering about the file size. Whilst the file does change size when going from unprelinked to prelinked (or vice-versa), once it is prelinked it then seems to remain the same regardless of how often the file is re-prelinked.
That's certainly not guaranteed. For prelinked shared libraries after reprelinking the size might change if due to some dependent library upgrade there are fewer or more dependencies.
Yes, very good points. Many thanks.
John.