Rationale for hardlink in kernel postinstall scriplet
ml2news at optonline.net
ml2news at optonline.net
Fri Jan 14 15:11:39 UTC 2005
Hello,
I've got a question for the kernel rpm packager at RedHat (Dave?). What's
the idea behind this piece of code (postinstall scriptlet):
if [ -x /usr/sbin/hardlink ] ; then
pushd /lib/modules/2.6.10-1.741_FC3/build > /dev/null ; {
cd /lib/modules/2.6.10-1.741_FC3/build
find . -type f | while read f; do hardlink -c /lib/modules/*/build/$f $f ; done
}
popd > /dev/null
fi
The issue I've got with it is that it touches all /lib/modules/* thus
touching my own version of the kernel (happily changing files and
owner)...
Is this intended or just a bug?
Thanks for letting me know.
--
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