My problem is that I am running out of space on my MAC (I wish a 5 TB or 10 TB drive was an option for MacBook Pro) and need to implement some kind of HFS+ file or volume compression solution. I will either use OSX's built in HFS+ Compression Technology via a tool like MoreSpace or I may opt to go completely 3rd party with an application like. In Mac OS X 10.6, Apple introduced file compression (AppleFSCompression, internally) in HFS+. Compression is most often used for files installed as part of Mac OS X; user files are typically not compressed (but certainly can be!). Reading and writing compressed files is transparent as far as Apple's file system APIs. HFS Compression. It seems Install macOS High Sierra.app uses HFS compression on numerous files and it seems 10.8 has issues with that and will not “see” those files. To quickly demonstrate which files are compressed, we will use stat and examine the stflags attribute, 0=no compression, 32=compression (thanks ghost of Mac OS X Hints!
Some Additional Information....
In the past, when Sky Drive was first created, the SkyDrive Sync Folder on my Computer was compressed via NTFS volume compression and once that happened, my files in SkyDrive got corrupted and I had to restore from a local backup. I dealt with MSFT Pro-Support who ultimately confirmed this to be a bug and fixed it, but the damage was already done when I lost all my files. Prior to the bug, if the NTFS volume was not compressed, everything was fine, but once the volume on which the SkyDrive Sync folder sat was compressed, the corruption would occur once the files synchronized.
- Description ¶ The attached patch enables the port activation phase in registry2.0/portimage.tcl to take advantage of hfsCompression on Mac OS X =10.6. Posting here for reference before committing to trunk. Attachments (4).
- Afsctool -v filename The built-in compression feature of APFS is implemented in the same way as it was on HFS+. That support was introduced with OS X 10.6. Even though it has thus been a part of the macOS system for almost 10 years, it is not really widely used.
I need to avoid experiencing that problem with OneDrive and HFS+ volume compression so I need an official statement from Microsoft confirming the problem doesn't exist or stating it might exist and they have to test and certify the situation first, before guaranteeing full compatibility.
Oct 7, 2015 12:38 PM
#36560closedenhancement (fixed)
Reported by: | Owned by: | mfeiri | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | base | Version: | 2.1.99 |
Keywords: | Cc: | ||
Port: |
![Afsctool hfs compression for mac pro Afsctool hfs compression for mac pro](/uploads/1/2/6/6/126618786/744636096.png)
Description
Attachments (4)
Afsctool Hfs Compression For Mac Computers
- hfscompression.diff (665 bytes) - added by mfeiri8 years ago.
- hfscompression2.diff (672 bytes) - added by mfeiri8 years ago.
- hfscompression3.diff (2.6 KB) - added by mfeiri6 years ago.
- activate_with_compression.patch (1.4 KB) - added by eborisch (Eric A. Borisch)3 years ago.
- Opportunistic bsdtar w/ --hfsCompression usage during activation.
Download all attachments as: .zip
Change History (39)
Changed 8 years ago by mfeiri
comment:1 Changed 8 years ago by cooljeanius (Eric Gallager)
comment:2 Changed 8 years ago by ryandesign (Ryan Schmidt)
comment:3 Changed 8 years ago by nonstop.server@…
comment:4 Changed 8 years ago by mfeiri
comment:5 Changed 8 years ago by mfeiri
comment:6follow-up: 7 Changed 8 years ago by jmroot (Joshua Root)
comment:7 in reply to: 6 Changed 8 years ago by jmroot (Joshua Root)
comment:8 Changed 8 years ago by jmroot (Joshua Root)
comment:9 Changed 8 years ago by cooljeanius (Eric Gallager)
Changed 8 years ago by mfeiri
comment:10 Changed 8 years ago by mfeiri
Owner: | changed from macports-tickets@… to mfeiri@… |
---|---|
Status: | reopened → new |
comment:11 Changed 8 years ago by jmroot (Joshua Root)
comment:12 Changed 8 years ago by mfeiri
comment:13 Changed 8 years ago by mfeiri
comment:14follow-up: 15 Changed 8 years ago by jmroot (Joshua Root)
comment:15 in reply to: 14 Changed 8 years ago by cooljeanius (Eric Gallager)
Last edited 8 years ago by cooljeanius (Eric Gallager) (previous) (diff)
comment:16follow-up: 17 Changed 8 years ago by mfeiri
comment:17 in reply to: 16 Changed 8 years ago by jmroot (Joshua Root)
comment:18 Changed 6 years ago by ryandesign (Ryan Schmidt)
comment:19 Changed 6 years ago by raimue (Rainer Müller)
Changed 6 years ago by mfeiri
comment:20 Changed 6 years ago by mfeiri
comment:21follow-up: 22 Changed 6 years ago by RJVB (René Bertin)
comment:22 in reply to: 21 ; follow-up: 23 Changed 6 years ago by ryandesign (Ryan Schmidt)
comment:23 in reply to: 22 ; follow-up: 24 Changed 6 years ago by RJVB (René Bertin)
Last edited 6 years ago by ryandesign (Ryan Schmidt) (previous) (diff)
comment:24 in reply to: 23 ; follow-up: 26 Changed 6 years ago by ryandesign (Ryan Schmidt)
comment:25 Changed 6 years ago by fracai
comment:26 in reply to: 24 Changed 6 years ago by RJVB (René Bertin)
Afsctool Hfs Compression For Mac Pro
comment:27 Changed 6 years ago by fracai
Last edited 6 years ago by fracai (previous) (diff)
comment:28 Changed 6 years ago by RJVB (René Bertin)
Last edited 6 years ago by RJVB (René Bertin) (previous) (diff)
comment:29 Changed 6 years ago by RJVB (René Bertin)
comment:30 Changed 5 years ago by andre.david@…
comment:31 Changed 3 years ago by eborisch (Eric A. Borisch)
comment:32 Changed 3 years ago by eborisch (Eric A. Borisch)
Changed 3 years ago by eborisch (Eric A. Borisch)
Attachment: | activate_with_compression.patch added |
---|
comment:33 Changed 3 years ago by 1-61803
comment:34 Changed 3 years ago by eborisch (Eric A. Borisch)
comment:35 Changed 3 years ago by Eric A. Borisch <eborisch@…>
Note: See TracTickets for help on using tickets.