After "fink cleanup", you can hfs-compress (only on 10.6) and gain another factor of two free space:

I tested this on my wife's laptop, just to be safe:

Before:
% du -h -d 1 /sw
300K    /sw/Applications
  84M    /sw/bin
3.1M    /sw/etc
  61M    /sw/fink
4.0M    /sw/include
604M    /sw/lib
112K    /sw/Library
648K    /sw/sbin
2.2G    /sw/share
5.1M    /sw/src
1.1G    /sw/var
4.0G    /sw


Then do:

sudo mv /sw  /sw.1
sudo ditto --hfsCompression  /sw.1  /sw
sudo rm -rf /sw.1


After:
% du -h -d 1 /sw
  64K    /sw/Applications
  33M    /sw/bin
508K    /sw/etc
6.1M    /sw/fink
484K    /sw/include
199M    /sw/lib
  44K    /sw/Library
208K    /sw/sbin
738M    /sw/share
5.1M    /sw/src
1.0G    /sw/var
2.0G    /sw

I think it might be faster, too, but I'm not certain.


This also works great with diffraction images.

Bill


On Sep 15, 2009, at 8:32 AM, Andreas Förster wrote:

Hey all (especially Bill, I guess),

I was bushwhacking through the fink jungle on my MacBook Pro (10.5.8) today and realized just how vast it it. There are 18GB in / sw. As examples (and to make this email uncannily on-topic), there are 18 coot_0.6-pre-1-revision-????-?_darwin-i386.deb packages and 14 coot_0.5-pre-1-*_darwin-i386.deb packages in /sw/fink/10.4/ unstable/main/binary-darwin-i386/sci.

Is this necessary? How do I clean fink up? I should say that I compile everything from source.

Thanks.


Andreas




--
       Andreas Förster, Research Associate
       Paul Freemont & Xiaodong Zhang Labs
Department of Biochemistry, Imperial College London
           http://www.msf.bio.ic.ac.uk

Reply via email to