Please use the Apache issue tracking system for new NetBeans issues (https://issues.apache.org/jira/projects/NETBEANS0/issues) !!
Bug 184853 - Use HFS+ compression
Use HFS+ compression
Status: NEW
Product: installer
Classification: Unclassified
Component: Mac Native
6.x
Macintosh Mac OS X
: P3 (vote)
: TBD
Assigned To: Libor Fischmeistr
issues@installer
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-04-23 13:58 UTC by aom
Modified: 2014-02-10 14:16 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description aom 2010-04-23 13:58:07 UTC
Starting with Snow Leopard, Mac OS X supports transparent file compression on HFS+ volumes to save diskspace and reduce I/O.

$ ./afsctool -v /Applications/NetBeans/NetBeans\ 6.9\ Beta.app/
/Applications/NetBeans/NetBeans 6.9 Beta.app/:
Folder contains no compressed files
Total number of files: 2916
Total number of folders: 210
Total number of items (number of files + number of folders): 3126
Folder size (uncompressed; reported size by Mac OS 10.6+ Finder): 220342491 bytes / 227.5 MB (megabytes) / 216.9 MiB (mebibytes)
Folder size (compressed - decmpfs xattr; reported size by Mac OS 10.0-10.5 Finder): 220342491 bytes / 227.5 MB (megabytes) / 216.9 MiB (mebibytes)
Folder size (compressed): 220342491 bytes / 227.5 MB (megabytes) / 216.9 MiB (mebibytes)
Compression savings: 0.0%
Appoximate total folder size (files + file overhead + folder overhead): 228221288 bytes / 228.2 MB (megabytes) / 217.6 MiB (mebibytes)

$ ./afsctool -c /Applications/NetBeans/NetBeans\ 6.9\ Beta.app/

$ ./afsctool -v /Applications/NetBeans/NetBeans\ 6.9\ Beta.app/
/Applications/NetBeans/NetBeans 6.9 Beta.app/:
Number of HFS+ compressed files: 2332
Total number of files: 2916
Total number of folders: 210
Total number of items (number of files + number of folders): 3126
Folder size (uncompressed; reported size by Mac OS 10.6+ Finder): 220342491 bytes / 227.5 MB (megabytes) / 216.9 MiB (mebibytes)
Folder size (compressed - decmpfs xattr; reported size by Mac OS 10.0-10.5 Finder): 117885187 bytes / 120 MB (megabytes) / 114.4 MiB (mebibytes)
Folder size (compressed): 119985046 bytes / 122.1 MB (megabytes) / 116.4 MiB (mebibytes)
Compression savings: 45.5%
Appoximate total folder size (files + file overhead + folder overhead): 123545803 bytes / 123.5 MB (megabytes) / 117.8 MiB (mebibytes)

Please let the Netbeans IDE Installer use HFS compression.

References:
http://github.com/jrk/afsctool
man ditto
     --hfsCompression
                   When copying files or extracting content from an archive, if the destination
                   is an HFS+ volume that supports  compression, all the content will be compressed
                   if appropriate. This is only supported on Mac OS X 10.6 or later, and is only intended
                   to be used in installation and backup scenarios that involve system files.
Comment 1 Jiri Rechtacek 2012-10-07 12:58:51 UTC
Assigned to new owner.


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo