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

MacPorts noreply at macports.org
Mon Nov 10 17:35:01 PST 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                        
      Port:  git-core                 |  
--------------------------------------+-------------------------------------

Comment(by blb at macports.org):

 Replying to [comment:4 ryandesign@…]:
 > I thought that was the point of hard links -- that they are
 indistinguishable from real files. So there's no way for base to fix this.

 It can with inode detection (I think that'd be the simplest way).
 Something using [file stat...] to detect when a file has more than one
 link, then organizing those which are the same to keep the hard links.

 > So isn't the fix for the for git-core to install those files as symlinks
 instead of hard links?

 Perhaps, or maybe they have a reason for using hard instead of symlinks.
 Also, this could come up again.

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


More information about the macports-tickets mailing list