On Jan 21, 2014, at 9:49 PM, Rajul Bhavsar <firstname.lastname@example.org> wrote:
> On Tue, Jan 21, 2014 at 10:23 PM, Jeffrey Johnson <email@example.com> wrote:
> >>> If hard-links are treated as just another files (for inclusion in .rpm) then why difference in size of payload - when same file is duplicated and hard-linked?
Read about cpio headers: there needs to be some way to specify
what foe path to link to, a search across a file system for a specific
inode is quite performance intensive, so the path to the file to be linked
to is included in the cpio payload.
> You can see all metadata with
> rpm -qp —yaml somepackage.rpm
> There is also —xml if you prefer the eye-scratchy angle bracket syntax.
Or compare the metadata with and without the hardline using —yaml. All the
metadata is displayed with —yaml.
You asked to understand why the *.rpm package was larger. One (or both)
of the above answers should provide an answer to you.
73 de Jeff
Received on Wed Jan 22 04:02:08 2014