Rationale for hardlink in kernel postinstall scriplet

ml2news at optonline.net ml2news at optonline.net
Sat Jan 15 20:07:15 UTC 2005


First, thanks for getting back to me Dave.

davej at redhat.com (Dave Jones) writes:
> intended.  It hardlinks all files that are identical to one copy.
> This saves a *lot* of diskspace, especially when you have several
> kernels installed.

Ok so if this is the case, couldn't we run the following instead?
hardlink -c /lib/modules/*FC?/build/$f $f

IE anything that wouldn't overwrite my kernel tree (which isn't owned by
root), in this case matching for FC3. I guess we could be more specific
though or we could 'rpm -qf' directories under /lib/modules to only touch
these that are owned by kernel packages.

Any thoughts?

-- 
Mathieu Chouquet-Stringer
    "Le disparu, si l'on vénère sa mémoire, est plus présent et
                 plus puissant que le vivant".
           -- Antoine de Saint-Exupéry, Citadelle --




More information about the fedora-list mailing list