buggNewSense GNU/Linux - Bugs: bug #29134, merge-o-matic should hardlink if...

 
 

bug #29134: merge-o-matic should hardlink if packages are the same

Submitter:  Karl Goetz <kgoetz>
Submitted:  Tue 09 Mar 2010 11:13:32 AM UTC
   
 
Category:  Infrastructure Severity:  1 - Wish
Item Group:  None Status:  None
Privacy:  Public Assigned to:  delqn
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 23 Jun 2010 12:37:04 PM UTC, comment #2: 

I'd say not in general when it comes to big mirrors, but if hardlinking was written in as an option it would allow both to be on the same partition.

i don't know how hard it would be to check the partitions are the same before hardlinking, but if the config option for upstream+downstream are on the same device, we can probably trust it :)

Karl Goetz <kgoetz>
Mon 21 Jun 2010 02:31:09 PM UTC, comment #1: 

Karl,

Is it safe to assume that both distro's repositories would reside in the same file system?  (Within the boundaries of the same fs?)

If that's the case - it would be appropriate for the script to simply use the "ln TARGET LINK_NAME" command, correct?

Thank you!

Del

Delyan Raychev <delqn>
Tue 09 Mar 2010 11:13:32 AM UTC, original submission:  

running ./update-pool downloads your two distributions from their respective repositories. if (as is the case with gNS) 99% of your archive is the same, it would be good if m-o-m would hard link instead of redownloading.

Karl Goetz <kgoetz>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by delqn (Posted a comment)
  •  

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.13-54b4.
    Corresponding source code