RPM needs to go on a diet.

Jeff Johnson n3npq at nc.rr.com
Thu Feb 17 18:58:13 UTC 2005


Kyrre Ness Sjobak wrote:

>tor, 17.02.2005 kl. 04.47 skrev Jeff Johnson:
>  
>
>>Kenneth Porter wrote:
>>
>>    
>>
>>>--On Wednesday, February 16, 2005 1:27 PM +0200 Panu Matilainen 
>>><pmatilai at welho.com> wrote:
>>>
>>>      
>>>
>>>>The kernel package runs hardlink on /lib/modules/*/build/ in %post to
>>>>save space on FC2 and FC3, that's what's taking so long when installing
>>>>and removing kernels.
>>>>        
>>>>
>>>What does hardlink do? There appears to be no man page or other 
>>>documentation for it in kernel-utils.
>>>      
>>>
>>Hardlinks's identical files to save space.
>>    
>>
>
>Why are hardlinks chosen over symlinks here?
>

Because symlinks behave differently than files in vcertain contexts, 
hardlinks are always the same as files.

Look there's a really simple answer to hardlinks and rpm and more:

Choose a kernel, use that.

Chose another kernel, use that, get rid of previous.

With one (or very few) kernels installed, hardlink and rpm performance 
is a non-issue.

73 de Jeff




More information about the fedora-devel-list mailing list