[MacPorts] #13601: MacPorts doesn't respect hard links during install phase

MacPorts noreply at macports.org
Wed Jul 9 22:35:43 PDT 2008


#13601: MacPorts doesn't respect hard links during install phase
--------------------------------------+-------------------------------------
  Reporter:  julien.thewys at gmail.com  |       Owner:  macports-tickets at lists.macosforge.org
      Type:  defect                   |      Status:  new                                  
  Priority:  Normal                   |   Milestone:  MacPorts base bugs                   
 Component:  base                     |     Version:  1.5.2                                
Resolution:                           |    Keywords:  tcl hard link                        
--------------------------------------+-------------------------------------
Changes (by blb at macports.org):

 * cc: bryan at larsen.st (removed)
  * component:  ports => base
  * summary:  git-core hard link => MacPorts doesn't respect hard links
              during install phase
  * owner:  mgrimes at macports.org => macports-tickets at lists.macosforge.org
  * milestone:  Port Enhancements => MacPorts base bugs
  * keywords:  => tcl hard link
  * type:  enhancement => defect

Comment:

 git-core does use hard links in the destroot, so the issue is actually
 with MacPorts base.  It currently doesn't look for hard links when going
 from destroot to install, hence each file is then copied instead of hard
 linked.

 The question is how easy/difficult it would be to detect hard linked files
 in Tcl, since 'file type' appears to only return 'link' which is a
 symlink, and 'file' for hard links (since it looks like a file).

-- 
Ticket URL: <http://trac.macports.org/ticket/13601#comment:3>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list