#66526 closed defect (fixed)
Port space command ignores hardlinks in it's total size calculations
Reported by: | esbugz | Owned by: | jmroot (Joshua Root) |
---|---|---|---|
Priority: | Normal | Milestone: | MacPorts 2.10.0 |
Component: | base | Version: | 2.8.0 |
Keywords: | Cc: | ||
Port: |
Description
I'm using port space --units MB installed | sort -n # MacPorts: list ports by size
I get 523.30 MB git @2.39.0_0
This is incorrect since git has ~140 files 3.2m each (or physical 1.6m, not sure why there is such a big discrepancy here for a single file) that are actually hardlinks to a single file
The port space
command should calculate the size of a file as file size/count of hardlinks
and then sum this up to get the size of a port instead of summing up file size
's as is
Change History (3)
comment:1 Changed 4 months ago by jmroot (Joshua Root)
Owner: | set to jmroot |
---|---|
Resolution: | → fixed |
Status: | new → closed |
comment:2 Changed 4 months ago by jmroot (Joshua Root)
Milestone: | → MacPorts Future |
---|
comment:3 Changed 4 months ago by jmroot (Joshua Root)
Milestone: | MacPorts Future → MacPorts 2.10.0 |
---|
Note: See
TracTickets for help on using
tickets.
In 11662bd6cd19caf1a5341e5406afebb69ffd041c/macports-base (master):