almost 20GB lost on "scribus" compile...get it back?

Rainer Müller raimue at macports.org
Sun Mar 28 19:42:39 PDT 2010


On 2010-03-29 04:14 , AinSophAur33 wrote:
> Which is some, but nowhere near the 20+ GB that I know went missing...what
> else could be the issue?

Use the command 'du -sh /opt/local/var/macports/' to see how much disk
space MacPorts really occupies. Active ports will already be counted as
they are hard links only.

I would recommend to install ncdu from MacPorts to examine disk usage
interactively. Run it on the root directory to see what takes up so much
space.

There are also the graphical applications filelight and baobab (port
gnome-utils) which have the same purpose. But these require installation
of Qt/GTK+ first which probably won't work with only 3 GB of disk space
left :-)

Do you use FileVault? The sparse image for your home will always grow
while you are logged in. Each file will still take space even after it
is deleted and this disk space is not reclaimed. Did you probably copy
large files in the home directory and this is not related to MacPorts?

To reclaim disk space if using FileVault, logout while power is
connected which should trigger reclaim. Note that this only happens if
the wasted disk space in the image is over a certain threshold. As an
alternative solution, log in as another user and manually run the
command 'sudo -u foo hdiutil compact /Users/.foo/foo.sparseimage' where
foo is your main username in Terminal.

HTH,
Rainer


More information about the macports-users mailing list