rpm and hard links

Matias Feliciano feliciano.matias at free.fr
Tue May 4 19:51:05 UTC 2004


$ rpm -q kernel-*
kernel-2.6.5-1.327
kernel-2.6.5-1.349

I have many hard links between kernel-2.6.5-1.327 and
kernel-2.6.5-1.349.
Example :
$ find  /lib/modules/2.6.5-1.3* -type f -links 2 -print | wc
   7682    7682  466570
$ ll -i lib/modules/2.6.5-1.349/build/include/config/net/sch/ingress/module.h lib/modules/2.6.5-1.327/build/include/config/net/sch/ingress/module.h
377069 -rw-r--r--  2 root root 40 mai  2 22:46 lib/modules/2.6.5-1.327/build/include/config/net/sch/ingress/module.h
377069 -rw-r--r--  2 root root 40 mai  2 22:46 lib/modules/2.6.5-1.349/build/include/config/net/sch/ingress/module.h

A rpm feature ?

If it's a feature, why this doesn't append with kernel-source ?

$ rpm -q kernel-source-*
kernel-source-2.6.5-1.327
kernel-source-2.6.5-1.349
$ find /usr/src/linux-2.6.5-1.3* -type f -links -print | wc
      0       0       0






More information about the fedora-test-list mailing list