[MacPorts] #69555: Use cloning to activate port images on APFS

MacPorts noreply at macports.org
Mon Jun 24 04:46:09 UTC 2024


#69555: Use cloning to activate port images on APFS
--------------------------+--------------------
  Reporter:  jmroot       |      Owner:  jmroot
      Type:  enhancement  |     Status:  closed
  Priority:  Normal       |  Milestone:
 Component:  base         |    Version:
Resolution:  fixed        |   Keywords:
      Port:               |
--------------------------+--------------------
Changes (by jmroot):

 * status:  new => closed
 * owner:  (none) => jmroot
 * resolution:   => fixed


Comment:

 In [changeset:"4504942d2283f2950d273b0aee93b9ed867007ea/macports-base"
 4504942d2283f2950d273b0aee93b9ed867007ea/macports-base] (master):
 {{{
 #!ConfigurableCommitTicketReference repository="macports-base"
 revision="4504942d2283f2950d273b0aee93b9ed867007ea"
 Use clonefile for port images, and detect hardlinks

 New portimage_mode config option controls whether the extracted
 directory, the archive, or both are kept for port images. Default is
 directory if the filesystem that the software directory is on supports
 cloning. Otherwise the default is archive.

 In directory mode, downloaded archives are extracted only once.
 Subsequent activations just clone the files. If activation is across
 devices for some files, fall back to copying for those files.

 In all cases, hard links are now recreated correctly whenever possible
 even if the activated location is on a different device than the port
 image.

 Closes: https://trac.macports.org/ticket/69555
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/69555#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list