EPM STR #21

Status:5 - New
Priority:1 - Request for Enhancement, e.g. asking for a feature
Scope:3 - Applies to all machines and operating systems
Subsystem:Unassigned
Summary:Use (hard) linking instead of copying, when possible [patch]
Version:-feature
Created By:mi
Assigned To:Unassigned
Fix Version:Unassigned
Update Notification:

Receive EMails Don't Receive EMails


Trouble Report Files:

Post File


Name/Time/DateFilename/Size
mi
17:03 Nov 16, 2009
patch-link
1k

Trouble Report Dialog:

Post Text


Name/Time/DateText
mi
17:03 Nov 16, 2009
The patch below should help large projects (such as OpenOffice) save a lot of I/O time and disk-space during packaging.

It changes the copy_file function to attempt to use link(2) first, and only proceed to the actual copying of the files, if link fails for any reason.